﻿# Configuring Google Workspace

## Configure Google Workspace

[How to configure Google Workspace](/docs/security/authentication/googleapps-authentication#configure-google-workspace).

## Configure Octopus Server

1. Navigate to **Configuration ➜ Settings ➜ OpenID Connect** and populate the following fields:
     - **Enabled** should be set to `Yes`.
     - **Role Claim Type** should be left unset.
     - **Username Claim Type** should be left unset.
     - **Resource** should be left unset.
     - **Scopes** should be left as the default of `openid profile email`.
     - **Display Name** can be used to customize the appearance of the button on the Octopus Deploy login screen. Use a name that your users will recognize for this identity provider.
     - **Issuer** should be `https://accounts.google.com`.
     - **Client ID** and **Client secret** should be the values you noted when creating the application. You can also find them in the "Additional Information" page of [the application](https://console.cloud.google.com/auth/clients).
         :::div{.hint}
         Note that the value of **Client Secret** cannot be retrieved once set - it can only be changed or deleted
         :::
     - **Allow Auto User Creation** determines if Octopus Deploy should automatically create user accounts, or only allow authentication for users that already exist in Octopus Deploy.
2. Click **Save** to apply the changes.
3. If you sign out of Octopus Deploy, you should now see a new button on the login screen to authenticate with the OIDC provider.
