1 個回答
- 最新
- 最多得票
- 最多評論
1
Hi,
the best way to verify the id token is to use an OIDC, OAuth2, or JWT library.
those library will get the public key from the JWKS endpoint associated with the issuer of the token and validate the signature. Then it will validates that the token is in its valid time boundaries (not before, not after). You can generally add additional checks on claims values, scopes, and client id value.
We provide the following library to help you with that: https://github.com/awslabs/aws-jwt-verify
Jeff
已回答 10 個月前
相關內容
- AWS 官方已更新 1 年前