-
Notifications
You must be signed in to change notification settings - Fork 163
Configuration Environment Variables Constants
Tim Nolte edited this page Sep 22, 2022
·
2 revisions
The plugin supports setting many of the core plugin settings via PHP constant defined in the wp-config.php or when using a library such as PHP dotenv.
- Login Type:
OIDC_LOGIN_TYPE - Client ID:
OIDC_CLIENT_ID - Client Secret Key:
OIDC_CLIENT_SECRET - Login Endpoint URL:
OIDC_ENDPOINT_LOGIN_URL - Userinfo Endpoint URL:
OIDC_ENDPOINT_USERINFO_URL - Token Validation Endpoint URL:
OIDC_ENDPOINT_TOKEN_URL - End Session Endpoint URL:
OIDC_ENDPOINT_LOGOUT_URL - OpenID scope:
OIDC_CLIENT_SCOPE(space separated) - OpenID login type:
OIDC_LOGIN_TYPE('button' or 'auto') - Enforce privacy:
OIDC_ENFORCE_PRIVACY(boolean) - Create user if they do not exist:
OIDC_CREATE_IF_DOES_NOT_EXIST(boolean) - Link existing user:
OIDC_LINK_EXISTING_USERS(boolean) - Redirect user back to origin page:
OIDC_REDIRECT_USER_BACK(boolean) - Redirect on logout:
OIDC_REDIRECT_ON_LOGOUT(boolean)