1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
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.
답변함 일 년 전
관련 콘텐츠
- AWS 공식업데이트됨 7달 전