Skip to main content

Set Google auth options

POST /api/admin/auth/google/settings
deprecated

This endpoint has been deprecated and may be removed in future versions of the API.

Updates the settings for Google Authentication (deprecated, please use OpenID instead)

Request

Body

required

googleSettingsSchema

  • enabled boolean

    Is google OIDC enabled

  • clientId string required

    The google client id, used to authenticate against google

  • clientSecret string required

    The client secret used to authenticate the OAuth session used to log the user in

  • unleashHostname string required

    Name of the host allowed to access the Google authentication flow

  • autoCreate boolean

    Should Unleash create users based on the emails coming back in the authentication reply from Google

  • emailDomains string

    A comma separated list of email domains that Unleash will auto create user accounts for.

Responses

googleSettingsSchema

Schema
  • enabled boolean

    Is google OIDC enabled

  • clientId string required

    The google client id, used to authenticate against google

  • clientSecret string required

    The client secret used to authenticate the OAuth session used to log the user in

  • unleashHostname string required

    Name of the host allowed to access the Google authentication flow

  • autoCreate boolean

    Should Unleash create users based on the emails coming back in the authentication reply from Google

  • emailDomains string

    A comma separated list of email domains that Unleash will auto create user accounts for.

Loading...