fix trunk error

This commit is contained in:
Georges-Antoine Assi
2024-11-27 23:36:41 -05:00
parent 3abf50b056
commit a2179604bf

View File

@@ -189,7 +189,7 @@ class OpenIDHandler:
raise OAuthCredentialsException from exc
iss = payload.claims.get("iss")
if not OIDC_SERVER_APPLICATION_URL in str(iss):
if OIDC_SERVER_APPLICATION_URL not in str(iss):
raise OAuthCredentialsException
username = payload.claims.get("preferred_username")