Skip to content

Send id_token_hint when logging out #2037

@kbravh

Description

@kbravh

Checklist

  • I have looked into the Readme, Examples, and FAQ and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.

Describe the problem you'd like to have solved

In v4 of the library, the id_token_hint query parameter is not being sent along with the logout url.

Presumably, this is because the idToken was not being included by default in the user's session to keep cookie size down. As of version 4.3.0, though, we do now have access to the idToken on the user's tokenSet.

Describe the ideal solution

The id_token_hint query parameter is included in the generated logout url when navigating to auth/logout.

Alternatives and current workarounds

Currently, I'm having to create my own logout url to handle logout since I need access to the id_token_hint.

Additional context

No response

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