You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
\Drupal\next\Controller\NextSiteEntityController::environmentVariables hardcodes the paths /admin/config/services/consumer. This path should be retrieved using a URL object and the routing system, in case it ever changes.
Describe the solution you'd like
$path = Url::fromRoute('entity.consumer.collection')->toString();
$variables += [
'authentication_bearer' => '# Authentication',
'DRUPAL_CLIENT_ID' => 'Retrieve this from ' . $path,
'DRUPAL_CLIENT_SECRET' => 'Retrieve this from ' . $path,
];
The text was updated successfully, but these errors were encountered:
Package
next (Drupal module)
Describe the feature request
\Drupal\next\Controller\NextSiteEntityController::environmentVariables
hardcodes the paths/admin/config/services/consumer
. This path should be retrieved using a URL object and the routing system, in case it ever changes.Describe the solution you'd like
The text was updated successfully, but these errors were encountered: