External IDP Tokens in Cognito User Pools
2
Does Cognito User Pools store tokens granted by external IDPs (such as external access_token and refresh_token)? If so, how can they be accessed?
asked 11 days ago7 views
1 Answers
-1
You can get the user's tokens using the /oauth2/token endpoint.
answered 11 days ago
Correct. "Amazon Cognito issues your application bearer tokens, which might include identity, access, and refresh tokens.". See the OIDC user pool IdP auth flow: https://docs.aws.amazon.com/cognito/latest/developerguide/cognito-user-pools-oidc-flow.html
Right. So in that example, I am interested in retrieving and exposing the Salesforce tokens to my application. Not the tokens generated by Cognito (RP). Is this possible?
Relevant questions
***FOUND BUG*** API Gateway / Cognito Authorizer
asked a month agoare federated IDPs consulted on token refresh via cognito user pools?
Accepted Answerasked a month agoCognito: Key Rotation
asked 3 months agoadminitiateauth and refresh tokens
asked 3 years agoHow can I revoke tokens created through Cognito oauth/token url?
asked 2 months agoUser Pools and Access Tokens
asked a month agoChecking the tokens that a server side app receives from front-end application
asked a month agoCognito SAML with multiple external IdPs
Accepted Answerasked 3 years agoCognito OAuth Non Expiring Token
Accepted Answerasked 4 years agoExternal IDP Tokens in Cognito User Pools
asked 11 days ago
Isn't that for Cognito tokens, not external tokens?