1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
First, you should not use the ID Token to consume an API but the Access Token.
Second, as you use the Identity Token authentication method, you must has configured the Token validation
field in the Cognito authorizer which should match the aud
claim of the identity token [client id value] issued by the first user pool. As Client id value as unique per user pool, the identity token issued by the second user pool will never have this aud
claim set to the right value and therefore will always fail the check.
répondu il y a un an
Contenus pertinents
- demandé il y a 2 mois
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 2 ans
- AWS OFFICIELA mis à jour il y a un an
- AWS OFFICIELA mis à jour il y a 10 mois
- AWS OFFICIELA mis à jour il y a 3 mois