IdentityPython / oidc-op

An implementation of an OIDC Provider (OP)
Apache License 2.0
65 stars 27 forks source link

Fix introspection expired token exception #199

Closed nsklikas closed 1 year ago

nsklikas commented 2 years ago

get_session_info_by_token's call to token_handler.info may raise a ToOld exception if the token is a jwt.

In this PR we catch it and return active=False.