1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
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
beantwortet vor 10 Monaten
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren