Skip to content

Commit 7578909

Browse files
committed
dbg
1 parent 96299d8 commit 7578909

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

backend/application/access_control/services/oidc_authentication.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,15 @@ def _validate_jwt(self, token: str) -> Optional[User]:
6565
"verify_exp": True,
6666
"verify_nbf": True,
6767
}
68+
print("token", token)
6869
payload = jwt.decode(
6970
jwt=token,
7071
options=options,
7172
key=signing_key.key,
7273
algorithms=ALGORITHMS,
7374
audience=os.environ["OIDC_CLIENT_ID"],
7475
)
76+
print("payload", payload)
7577
username = payload.get(os.environ["OIDC_USERNAME"])
7678
user = get_user_by_username(username)
7779
if user:

0 commit comments

Comments
 (0)