Can i use Id token, access token, refresh token in User pool to identity pool?

0

Question: Can i use Id token, access token, refresh token in User pool to identity pool?

i making code login to Developer authenticated identities

but official document, i read Using Token on Amazon User pool no have Token in Amazon Identity pool

if login Developer authenticated identities and expire access token, then Automatically provide access Token without making the user restart it?

1 réponse
0

Your question is a bit unclear. But when you pass your User Pool token to the Identity Pool, the Identity Pool calls the STS AssumeRoleWithWebIdentity API call to return temporary access credentials to the user.[1] The Identity Pool doesn't do anything else with OpenID token provided by the User Pool.

[1] https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityCredentials.html

AWS
répondu il y a 2 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions