drupal / govnl_cms_auth_openid_connect
Recipe for OpenID Connect Authentication in GovNL CMS
Package info
git.drupalcode.org/project/govnl_cms_auth_openid_connect.git
Type:drupal-recipe
pkg:composer/drupal/govnl_cms_auth_openid_connect
Requires
- drupal/core: ^11.4
- drupal/externalauth: ^2.0
- drupal/keycloak: ^2.2
- drupal/openid_connect: ^3.0@alpha
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Recipe for OpenID Connect Authentication in GovNL CMS projects.
Submit bug reports and feature suggestions, or track changes in the issue queue.
Requirements
This recipe requires the following modules:
Installation
Install as you would normally install a contributed Drupal recipe. For further information, see How to Download and Apply Drupal Recipes.
Configuration
Set the Keycloak base URL, realm and client ID at Administration »
Configuration » People » OpenID Connect. Keep the client secret out of the
configuration: set it per environment in settings.php, for example from an
environment variable:
$config['openid_connect.client.keycloak']['settings']['client_secret'] = getenv('KEYCLOAK_CLIENT_SECRET');