Allow configuring scope

Created on 23 February 2023, over 1 year ago
Updated 21 March 2024, 3 months ago

Problem/Motivation

It is currently not possible to configure scopes for clients created with this module.

For most use cases that only handle login this is not necessary, but it would be a useful feature in some situations. For example:

  • It could be used to retrieve access tokens for use in custom code when, e.g., interacting with external B2C backed APIs
  • It could be used in combination with the patch at https://www.drupal.org/project/openid_connect/issues/2923419 ✨ Method to use the refresh token Needs review to allow passing the offline_access scope to generate refresh tokens

Proposed resolution

Add a field for configuring scopes.

User interface changes

A scope field would be visible when editing/creating clients based on this module.

Data model changes

A scope configuration value would be stored for clients based on this module.

✨ Feature request
Status

Needs work

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada Dylan Donkersgoed London, Ontario

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024