mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-13 11:05:56 +00:00
authentication_identifier comes from cookies, not headers
This commit is contained in:
parent
52b90dd28a
commit
04e763116e
@ -350,7 +350,7 @@ def _get_user_model_from_token(token: str) -> UserModel | None:
|
||||
|
||||
elif "iss" in decoded_token.keys():
|
||||
user_info = None
|
||||
authentication_identifier = request.headers["authentication_identifier"]
|
||||
authentication_identifier = request.cookies["authentication_identifier"]
|
||||
try:
|
||||
if AuthenticationService.validate_id_or_access_token(
|
||||
token, authentication_identifier=authentication_identifier
|
||||
|
Loading…
x
Reference in New Issue
Block a user