Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

User Logout Token

No security coverage Under active development 68 sites

This module adds an endpoint to retrieve a user's logout token at any time during their session. This helps in scenarios like password resets where the logout token might change, ensuring secure logout functionality.

The Logout Token module enhances Drupal core by providing an endpoint that allows developers to obtain the logout token during the initial user login through the user login endpoint. Unlike the core behavior, this module ensures that developers can retrieve the logout token at any time during the user session. This capability becomes particularly useful in scenarios where users reset their passwords but are unable to log out due to the logout token being regenerated alongside it. In such cases, the module's endpoint becomes a valuable tool for obtaining the user's logout token and handling secure logout operations effectively.

Key Features

  • Provides an endpoint to fetch the logout token during user sessions.
  • Compatible with Drupal 8, 9, and 10.
  • Enhances security by enabling secure logout handling.

Installation

Follow the standard installation procedure

How to use

Once the module is enabled, simply use the following endpoint to obtain the logout token:
/session/logout/token

Drupal 10–11

Ask your assistant about User Logout Token

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Jul 2023
Latest release
7 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.1 Stable 10–11 Mar 18, 2026
2.0.0 Stable 10–11 Mar 18, 2026
1.0.3 Stable 8–10 Jul 31, 2023
1.0.2 Stable 8–10 Jul 31, 2023
1.0.x-dev Dev 10–11 Jul 30, 2023