update: adds raw user info to thirdparty response#558
Merged
sattvikc merged 2 commits intosupertokens:0.28from Feb 11, 2025
namsnath:update/thirdparty/add_raw_user_info
Merged
update: adds raw user info to thirdparty response#558sattvikc merged 2 commits intosupertokens:0.28from namsnath:update/thirdparty/add_raw_user_info
sattvikc merged 2 commits intosupertokens:0.28from
namsnath:update/thirdparty/add_raw_user_info
Conversation
- BitBucket - Cleans up primary email logic - Moves `email` key from `from_id_token_payload` to `from_user_info_api` in `raw_user_info_from_provider` - Github - Changes `id` field access to be concrete to be in-line with API Spec - Adds raw user info to output - Makes primary email logic consistent with BitBucket - LinkedIn - Changes `sub` field access to be concrete to be in-line with API Spec - Adds raw user info to output Co-authored-by: Viraj Kanwade <viraj.kanwade@forgeahead.io>
sattvikc
approved these changes
Feb 10, 2025
12 tasks
This was
linked to
issues
Feb 10, 2025
This was referenced Feb 18, 2025
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.
Summary of change
emailkey fromfrom_id_token_payloadtofrom_user_info_apiinraw_user_info_from_provideridfield access to be concrete to be in-line with API Specsubfield access to be concrete to be in-line with API SpecRelated issues
Test Plan
UserInfo.Documentation changes
(If relevant, please create a PR in our docs repo, or create a checklist here highlighting the necessary changes)
Checklist for important updates
coreDriverInterfaceSupported.jsonfile has been updated (if needed)supertokens_python/constants.pyfrontendDriverInterfaceSupported.jsonfile has been updated (if needed)setup.pysupertokens_python/constants.pygit tag) in the formatvX.Y.Z, and then find the latest branch (git branch --all) whoseX.Yis greater than the latest released tag.supertokens_python/utils.pyfile to include that in theFRAMEWORKSvariablesyncio/asynciofunctions are consistent.tests/sessions/test_access_token_version.pyto account for any new claims that are optional or omitted by the coreRemaining TODOs for this PR