Add a UI for creating client credential tokens

Created on 25 April 2025, 1 day ago

Problem/Motivation

When using client credentials grants, there is no way to create tokens from the Drupal UI. Thus, if the person managing the client(s)/consumer(s) and issuing the token(s) is the same person, they need to use a separate tool for that.

Proposed resolution

Instead add a form within Drupal that is just a wrapper around the required OAuth POST request but integrated in Drupal.

Remaining tasks

User interface changes

If there is a confidential consumer with client credential grants enabled, a Create client credentials token local action appears on the token list, which redirects to a form which allows selecting the client, entering the client secret and generating a token using that.

The form internally performs a POST request against the token creation endpoint using the client ID and secret.

API changes

-

Data model changes

-

Feature request
Status

Active

Version

6.0

Component

User interface

Created by

🇩🇪Germany tstoeckler Essen, Germany

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024