Drupal is a registered trademark of Dries Buytaert

tapis_auth

No security coverage
View on drupal.org

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.

Activity

Total releases
5
First release
Dec 2024
Latest release
1 month ago
Release cadence
103 days
Stability
0% stable

Release Timeline

Releases

Version Type Release date
1.4.1-alpha5 Pre-release Jan 24, 2026
1.4.1-alpha4 Pre-release Oct 14, 2025
1.4.1-alpha3 Pre-release Aug 27, 2025
1.4.1-alpha2 Pre-release Dec 10, 2024
1.4.1-alpha1 Pre-release Dec 10, 2024