You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, currently our JWT payload handler is assumed to return TokenPayloadType, which consist on the following fields
@strawberry.type(
description="""
the data that was used to create the token.
"""
)
@inject_fields(
{
app_settings.JWT_PAYLOAD_PK,
}
)
class TokenPayloadType:
origIat: datetime = strawberry.field(
description="when the token was created", default_factory=datetime.utcnow
)
exp: datetime = strawberry.field(description="when the token will be expired", default=None)
So we can not add an extra field into token payload
No description provided.
The text was updated successfully, but these errors were encountered: