-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[oauth2] Allow for extra OAuth2 token(s) to be added into the headers #60668
Conversation
🪟 Windows buildsDownload Windows builds of this PR for testing. 🪟 Windows Qt6 buildsDownload Windows Qt6 builds of this PR for testing. |
7846e01
to
ffc6c07
Compare
@nirvn I find the UI here a little unclear -- in my initial reading I thought the token would be the key name and the second column a hardcoded value to set. But it seems that the first column is just a arbitrary user-set identifier? Could we do away with that identifier and just use a list for the header keys instead? |
ffc6c07
to
80b739b
Compare
@nyalldawson , comments addressed, thanks. |
Thanks for the flexibility @nirvn! |
Description
This PR adds an oauth2 advanced configuration option to attach extra tokens sent by the OAuth2 token endpoint as HTTP(S) request headers. The UI looks as follow:
This can be quite useful when working with OAuth2 service providers such as Google which adds openid tokens to their token replies.