Skip to content
LogScale Self-Hosted
This is an archived version of the documentation downloaded from LogScale Documentation Archives. Up to date documentation, and documentation for later versions, is available on LogScale Documentation

## `OIDC_OAUTH_CLIENT_ID`

Option | `OIDC_OAUTH_CLIENT_ID`
Description | Client ID of OpenID application

Client ID of your OpenID application. Required.

ini

    PUBLIC_URL=$YOUR_SERVERS_BASE_URL
    OIDC_PROVIDER=$PROVIDER_URL
    OIDC_USERNAME_CLAIM="email"

    AUTHENTICATION_METHOD=oauth
    OIDC_OAUTH_CLIENT_ID=$CLIENT_ID
    OIDC_OAUTH_CLIENT_SECRET=$CLIENT_SECRET
    AUTO_CREATE_USER_ON_SUCCESSFUL_LOGIN=true

To use OIDC as a client, `PUBLIC_URL` must be set, LogScale must be registered as a client with your OpenID provider, and the provider must allow `%PUBLIC_URL%/auth/oidc` as a valid redirect endpoint for the client.

#### Enter search term