Skip to content

Access to user and client in token generation #279

@steffansluis

Description

@steffansluis

I am using JWT as access and refresh tokens, and it seems that in version 3.0.0 the generateAccessToken and generateRefreshToken functions no longer have the user and client available, whereas before they were available on the req object. Any reason as to why they are no longer available? I realize that the information is available in the scope of the saveToken function, however that means having to decode the JWT, adding additional info and resigning it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions