Skip to content

Commit

Permalink
fix token
Browse files Browse the repository at this point in the history
  • Loading branch information
BinamB committed Dec 20, 2024
1 parent 108360f commit 536e11b
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 536e11b

Please sign in to comment.