Skip to content

Commit

Permalink
fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
BinamB authored and nss10 committed Feb 4, 2025
1 parent d4977a8 commit 8c9a117
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fence/jwt/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ def generate_signed_session_token(kid, private_key, expires_in, context=None):
claims = {
"pur": "session",
"aud": ["fence", issuer],
"sub": context.get("user_id", ""),
"sub": str(context.get("user_id", "")),
"iss": issuer,
"iat": iat,
"exp": exp,
Expand Down

0 comments on commit 8c9a117

Please sign in to comment.