Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Usage Milestone: Simplify Module simplify crossed 10,000 active installs. Usage Milestone: Views Reference Filter Module entityreference_filter crossed 10,000 active installs. Usage Milestone: Dropdown Language Module dropdown_language crossed 10,000 active installs. Usage Milestone: Paragraphs Browser Module paragraphs_browser crossed 10,000 active installs. Usage Milestone: OpenAPI Module openapi crossed 10,000 active installs. Usage Milestone: Decoupled Router Module decoupled_router crossed 10,000 active installs. Usage Milestone: Time Field for Drupal 8+ Module time_field crossed 10,000 active installs. Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

tapis_auth

1 sites No security coverage
View on drupal.org

This module allows Drupal to authenticate users and interact with Tapis APIs by managing JWT access tokens. It acts as an authenticator, obtaining tokens from the Tapis Tokens service and then minting user-specific tokens for operations performed on behalf of individual Drupal users. The module automatically handles obtaining new tokens when existing ones expire or are missing.

To access Tapis APIs from Drupal, we need a valid JWT access token representing the site user performing the operation (e.g., submitting a job, creating an app, etc.). Moreover, Tapis will only accept the access tokens that are signed by its Tokens service, and only the Authenticator service can make API calls to the Tokens service to mint new access tokens. In our case, Drupal is the Authenticator service, since all user identity information is managed by Drupal. Therefore, only Drupal will be able to make API calls to Tapis's Tokens service in order to mint JWT access tokens for site users (when performing Tapis operations on behalf of them).

To do this, Drupal will first provide its service password to the Tapis tokens service in order to get back a JWT access token representing itself as the Authenticator service. Next, it will use its own JWT access token to mint JWT access tokens for the site users, as needed on-demand. For instance, say user A submits a job but they don't have an access token stored in Drupal yet. This module will automatically use its Authenticator service token to make an API call to the Tapis Tokens service, requesting a new JWT access token for the site user performing the operation. This module will also automatically fetch new access tokens if a site user tries to perform an operation and they have an expired access token in the Drupal database. Finally, JWT access tokens are only valid within a single tenant. For instance, User_0 in tenant A is not the same as User_0 in tenant B.

This module provides a Drupal service that performs all operations necessary for successfully authenticating site users with Tapis via JWT tokens.

For more info on Tapis authentication, refer to: https://tapis.readthedocs.io/en/latest/technical/authentication.html#id2.

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
7
Tracked since
Dec 2024
Latest release
1 month ago
Releases (12 mo)
4 ▲ from 3
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.4.1-beta2 Pre-release 10–11 Jul 21, 2026
1.4.1-beta1 Pre-release 10–11 Jul 14, 2026
1.4.1-alpha5 Pre-release 10 Jan 24, 2026
1.4.1-alpha4 Pre-release 10 Oct 13, 2025
1.4.1-alpha3 Pre-release 10 Aug 26, 2025
1.4.1-alpha2 Pre-release 10 Dec 10, 2024
1.4.1-alpha1 Pre-release 10 Dec 9, 2024