-
Notifications
You must be signed in to change notification settings - Fork 263
Add OAuth bearer auth-info support (#1233) #1425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
Fantastic, thanks for tackling this! ATM I am trying to fix the CI server tests, but once that is finished up I will get to reviewing this and providing feedback! |
| IPP_TAG_NAME)) != NULL) | ||
| { | ||
| value[0] = '\0'; | ||
| for (i = 0, ptr = value; i < attr->num_values; i ++) |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
| */ | ||
|
|
||
| snprintf(attr_name, sizeof(attr_name), "%s-default", option->keyword); | ||
| for (i = 0; attr_name[i]; i ++) |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
| * Skip options that are already explicitly handled... | ||
| */ | ||
|
|
||
| if (!strcmp(option->keyword, "PageSize") || |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
inthesquarehole
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didn't check whether it compiles, but otherwise this seems very useful to many organizations.
Add end-to-end OAuth Bearer support for shared queues: the scheduler now understands the
bearerauth-info keyword, advertises the OAuth metadata via DNS-SD and destination data, and persists bearer tokens. The IPP backend requests the new attributes, honorsWWW-Authenticate: Bearer, and forwardsAUTH_BEARERtokens. Docs and man pages were updated, and the change is recorded inCHANGES.md.