We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25ed82d commit eab7ad5Copy full SHA for eab7ad5
ellar_jwt/services.py
@@ -66,6 +66,8 @@ def sign(
66
jwt_payload = Token(jwt_config=_jwt_config).build(
67
serialize_object(payload.copy())
68
)
69
+ if "sub" in jwt_payload:
70
+ jwt_payload["sub"] = str(jwt_payload["sub"])
71
72
return jwt.encode(
73
jwt_payload,
0 commit comments