Add support for federated connection token exchange#670
Closed
frederikprijck wants to merge 2 commits intoauth0:masterfrom
Closed
Add support for federated connection token exchange#670frederikprijck wants to merge 2 commits intoauth0:masterfrom
frederikprijck wants to merge 2 commits intoauth0:masterfrom
Conversation
ab45902 to
e665b5b
Compare
kishore7snehil
requested changes
Feb 3, 2025
| "grant_type": "urn:auth0:params:oauth:grant-type:token-exchange:federated-connection-access-token", | ||
| "connection": connection, | ||
| "subject_token": refresh_token, | ||
| "subject_token_type": "urn:ietf:params:oauth:token-type:refresh_token", |
Contributor
There was a problem hiding this comment.
Will it work with all token types i.e. id_token, m2m_refresh_token?
Member
Author
There was a problem hiding this comment.
Not sure what you mean, there is nothing to support additional token_types here, this only works with refresh tokens.
|
|
||
| def federated_connection_token( | ||
| self, | ||
| refresh_token: str, |
Contributor
There was a problem hiding this comment.
Are we sure on the required fields?
Member
Author
There was a problem hiding this comment.
Yes, connection and refresh_token are required. login_hint is optional.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changes
This PR adds support for federated connection token exchange.
References
N/A
Testing
Checklist