Fix JWT exception in Dex code
This commit is contained in:
parent
0e24f6b40a
commit
dcd8157207
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ def dex_oauth_attach():
|
|||
|
||||
try:
|
||||
payload = decode_user_jwt(token, dex_login)
|
||||
except jwt.InvalidTokenError:
|
||||
except InvalidTokenError:
|
||||
logger.exception('Exception when decoding returned JWT')
|
||||
return render_ologin_error(
|
||||
dex_login.public_title,
|
||||
|
|
Reference in a new issue