-
Notifications
You must be signed in to change notification settings - Fork 432
Patch to keep the raw value of the OAuth2 id_token #65
Conversation
…OAuth2Credentials object
LGTM. Not sure why it wasn't done this way in the first place. Leaving it to @craigcitro to do final merge decisions. |
if 'id_token' in d: | ||
d['id_token'] = _extract_id_token(d['id_token']) | ||
extracted_id_token = _extract_id_token(d['id_token']) |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Done. |
i'm going to merge and then make a small tweak -- thanks @avivien ! |
Patch to keep the raw value of the OAuth2 id_token
Thank you @craigcitro Craig. |
Path to keep the raw value of the id_token in the token_reponse attribute of the OAuth2Credentials object.
This value is needed in some case, for example for the Amazon AWS Web identity federation.
See issue #64