About the module

The OpenID Client Advanced module provides an OAuth 2.0/OIDC client plugin working with the OpenID Connect module which accepts file or environment variable as the secret source, ID token signature validation, and nonce-based replay protection.

Requirements

Installation

  1. Add the module to your project (composer require drupal/openid_client_advanced) or place it in modules/contrib.
  2. Enable the module (drush en openid_client_advanced or via Extend).
  3. Clear caches if prompted.

Configuring a client

  1. Navigate to Configuration → People → OpenID Connect (/admin/config/people/openid-connect).
  2. Add or edit a client and choose OAuth 2.0 Advanced.
  3. Enter the Client ID and Client secret. Secrets can be inline, or you can supply YAML such as file: path/to/secret or env: VARIABLE_NAME to load from a file or environment variable.
  4. Decide how endpoints are set:
  5. Set Scopes (space-separated, e.g. openid email) and save.

Security features

Testing