okta / okta-jwt-verifier-python

okta-jwt-verifier-python
https://github.com/okta/okta-jwt-verifier-python
Apache License 2.0
32 stars 15 forks source link

Verify claims before signature, thus reduce http calls. #35

Closed serhiibuniak-okta closed 2 years ago

serhiibuniak-okta commented 2 years ago

Small improvement: verify claims before verifying signature. If verify_claims fails, then there is no need to verify signature and download jwks.

Related to #34