Skip to content

Explain the logout procedure in case of explicit refresh tokens #417

@bmurauer

Description

@bmurauer

After some thinking, I am unsure if I understand what steps are required to perform a secure logout in case the explicit refresh tokens are used. The scenarios that I can come up with are:

  • require both tokens on logout() and block them both
  • store the refresh token in the db upon creation, check it very time a token is refreshed, and delete it when a user logs out using the access token

Is there a preferred way?
I think this is very important and should be part of the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions