OpenID Connect (OIDC) Configuration
Adaptricity.Connect supports login with OpenID Connect (OIDC). To use OIDC, set the following environment variables or their counterpart in config.yml
.
Environment Variable (prefixed with CRW__ADMIN__ ) | config.yml property (sub property of admin ) | Description |
---|---|---|
AUTH | auth | Set to "oidc" to enable OIDC. Defaults to "basic" for Basic Auth. |
ISSUER_BASE_URL | issuer_base_url | Base URL of the identity provider. |
BASE_URL | base_url | Base URL of the .Connect instance (application) |
CLIENT_ID | client_id | Client ID of the application as defined in the identity provider. |
CLIENT_SECRET | client_secret | Client secret of the application as defined in the identity provider. |
SECRET | secret | Long random value used to derive an encryption key to sign session cookies. |
ID_TOKEN_SIGNING_ALG | id_token_signing_alg | Algorithm used to sign the token. Optional. Defaults to "HS256" . |