Drupal is a registered trademark of Dries Buytaert
Views Bootstrap 5.5.2 Minor update available for module views_bootstrap (5.5.2). oEmbed Providers 3.0.0 Major update available for module oembed_providers (3.0.0). Byte (theme) 1.0.3 Minor update available for theme byte_theme (1.0.3). Token Content Access 3.1.3 Minor update available for module tca (3.1.3). Emulsify 7.2.1 Minor update available for theme emulsify (7.2.1). Opensolr Search 4.1.0 Minor update available for module opensolr_search (4.1.0). AG-UI 1.0.2 Minor update available for module agui (1.0.2). FileGate 1.5.0 Minor update available for module file_gate (1.5.0). oEmbed Providers 2.2.4 Module oembed_providers updated after 7 months of inactivity (2.2.4). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

User Logout Token

55 sites No security coverage
View on drupal.org

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

Activity

Total releases
2
First release
Mar 2026
Latest release
4 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
2.0.1 Stable Mar 18, 2026
2.0.0 Stable Mar 18, 2026