1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
I have not tried it myself, but if it is an OIDC compliant token, you should be able to verify it through the official verification process, getting the jwks url in the iss field of the token
Here is how to do it:
- From the token get the iss value
- Issue a GET on the URI built from iss+/.well-know/openid-configuration https://cognito-identity.amazonaws.com/.well-known/openid-configuration
- From the JSON returned, get the jwks_uri field
- Issue a GET to the URI from the jwks_uri field to get the jwks https://cognito-identity.amazonaws.com/.well-known/jwks_uri
- Use the kid from the id token to select the right entry in the jwks to verify the signature
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 3 anni fa
- AWS UFFICIALEAggiornata 9 mesi fa
- AWS UFFICIALEAggiornata un anno fa