Skip to content

custom token for other entity #757

Open
@ternyavsky

Description

In my project, there are several entities that must be able to authorize. How can I write a custom token generation for each entity.
p.s. there was an option to use RefreshToken.for_user but it only uses the user model

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions