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?

gefragt vor 2 Jahren489 Aufrufe
1 Antwort
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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen