Commit f214077
committed
More OAuth/OpenID changes for the scheduler:
- Instead of treating the bearer token as a JWT, use the userinfo endpoint
(via cupsOAuthGetUserId) to get the user information and (as a side-effect)
validate the bearer token.
- Set the verified AuthType when get have a valid token.
- Support OAuth group files relative to the cupsd.conf file.1 parent c0ea9cb commit f214077
4 files changed
Lines changed: 16 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
710 | 710 | | |
711 | 711 | | |
712 | 712 | | |
713 | | - | |
| 713 | + | |
714 | 714 | | |
715 | 715 | | |
716 | 716 | | |
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
727 | | - | |
| 727 | + | |
728 | 728 | | |
729 | | - | |
| 729 | + | |
730 | 730 | | |
731 | 731 | | |
732 | 732 | | |
733 | | - | |
734 | | - | |
735 | | - | |
736 | | - | |
737 | | - | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | | - | |
742 | | - | |
743 | | - | |
744 | | - | |
745 | | - | |
746 | | - | |
747 | 733 | | |
748 | 734 | | |
749 | | - | |
| 735 | + | |
750 | 736 | | |
751 | 737 | | |
752 | 738 | | |
753 | 739 | | |
754 | 740 | | |
755 | 741 | | |
| 742 | + | |
756 | 743 | | |
757 | 744 | | |
758 | 745 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3698 | 3698 | | |
3699 | 3699 | | |
3700 | 3700 | | |
3701 | | - | |
| 3701 | + | |
| 3702 | + | |
3702 | 3703 | | |
3703 | 3704 | | |
3704 | 3705 | | |
| |||
3709 | 3710 | | |
3710 | 3711 | | |
3711 | 3712 | | |
| 3713 | + | |
| 3714 | + | |
| 3715 | + | |
| 3716 | + | |
| 3717 | + | |
| 3718 | + | |
| 3719 | + | |
3712 | 3720 | | |
3713 | 3721 | | |
3714 | 3722 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | 12 | | |
17 | 13 | | |
18 | 14 | | |
| |||
0 commit comments