The "" plugin does not exist. Valid plugin IDs for Drupal\simple_oauth\Plugin\ScopeProviderManager are: dynamic

Created on 23 December 2024, 3 months ago

Problem/Motivation

When running drush updb after updating this module from version 5 to 6, we get the following error:

The "" plugin does not exist. Valid plugin IDs for Drupal\simple_oauth\Plugin\ScopeProviderManager are: dynamic

The problem is that Oauth2ScopeProviderFactory::get() is triggered before the simple_oauth_update_8601 update hook is able to run. That update hook sets the default value for the scope_provider option.

Proposed resolution

Add a fallback for the config option to Oauth2ScopeProviderFactory::get().

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

🇧🇪Belgium dieterholvoet Brussels

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