Typo in README.md[BUG]
johnhartman opened this issue · 8 comments
In the README.md file, line 309, 'customJwtChecks' should be 'customJwtCheck'.
Thanks! Also ... great opportunity to become a contributor to the repo :)
Thanks! Also ... great opportunity to become a contributor to the repo :)
A good one indeed :)
Thanks!
Hi John. The JWT is just verified once actually. The array you pass in, is turned into a hash map of issuer configurations, where issuer is the key. During verification, using the issuer (iss
) from the JWT payload, the right config is loaded from the hash map.
Hi John, if you use the multi-verifier from this library, your JWT will be decoded and verified once.
The lib will look at your JWT's iss
claim. Cognito will put a different iss
in the JWTs than your old provider. So by looking at the iss
claim the library will know which one of the issuer configurations (that you provided as an array) to use.
Does that make sense?