formatting

This commit is contained in:
Rachid Mrad 2024-03-15 16:01:42 -04:00
parent ea43a34dee
commit bdffaca099
No known key found for this signature in database
2 changed files with 6 additions and 6 deletions

View file

@ -184,15 +184,15 @@ class Client(oic.Client):
# this most likely means the user's Django session vanished
if session.get("state", None) is None:
logger.error(
f"The OP state {state} does not match the session state."
f"The session state is None."
f"authn_response['state'] = {authn_response['state']}"
f"The OP state {state} does not match the session state. "
f"The session state is None. "
f"authn_response['state'] = {authn_response['state']} "
f"session.get('state', None) = {session.get('state', None)}"
)
else:
logger.error(
f"The OP state {state} does not match the session state."
f"authn_response['state'] = {authn_response['state']}"
f"The OP state {state} does not match the session state. "
f"authn_response['state'] = {authn_response['state']} "
f"session.get('state', None) = {session.get('state', None)}"
)
raise o_e.StateMismatch()