Skip to content

Commit

Permalink
authentication_identifier comes from cookies, not headers
Browse files Browse the repository at this point in the history
  • Loading branch information
jasquat committed Nov 9, 2023
1 parent a2d626e commit 205c778
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 205c778

Please sign in to comment.