-
-
Notifications
You must be signed in to change notification settings - Fork 495
Add reqval.fill_id_token
with technicals OIDC fields into id_token
#660
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
Merged
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
73032fe
Removed duplicated OIDC members in OAuth2.RequestValidator
JonathanHuot 7c570c7
Add technicals fields of `id_token` in oauthlib OIDC support
JonathanHuot 62152d4
Add c_hash. Add summary about when nonce/hashes are added to id_token
JonathanHuot 84cd5a4
Change to 3.0.2-dev as long as master is in "dev"
JonathanHuot 55b152c
Merge branch 'master' into oidc-hashes
JonathanHuot 53d3d33
Renamed fill into finalize to add clarity
JonathanHuot 4877b48
Use native operator instead type conversion
JonathanHuot 09538c9
Add unittests for OIDC GrantTypeBase.
JonathanHuot ed8c4f2
Python2.7 compatible
JonathanHuot 91a2792
Merge branch 'master' into oidc-hashes
JonathanHuot f1b8781
Merge branch 'master' into oidc-hashes
JonathanHuot 5405ca4
Fix docstring about return value
JonathanHuot 247c89e
Fix typo gave/have
JonathanHuot d4d3f10
Removed wrong assumption from copy/paste of get_autho.._scopes.
JonathanHuot 3644d7b
Merge branch 'master' into oidc-hashes
JonathanHuot File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add technicals fields of
id_token
in oauthlib OIDC support
A new RequestValidator `fill_id_token` has been introduced to replace `get_id_token`. It aims to have the bare minimum amount of fields to complete a full OIDC id_token support. `get_id_token` is still valid but optional, and if it is implemented, `fill_id_token` will not be called. The current `fill_id_token` came with full support of `aud`, `iat`, `nonce`, `at_hash` and `c_hash`. More could come in the future e.g. `auth_time`, ...
- Loading branch information
commit 7c570c763725fdaa40778d6cd6689b09b3971f50
There are no files selected for viewing
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
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
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
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
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
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
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.
Uh oh!
There was an error while loading. Please reload this page.