diff --git a/dictionary-octopus.txt b/dictionary-octopus.txt index ef1bbdc452..282ed6dcee 100644 --- a/dictionary-octopus.txt +++ b/dictionary-octopus.txt @@ -156,6 +156,7 @@ eastus EBNF echoerror ecparam +edov elbv2 elif Elyton diff --git a/public/docs/img/security/authentication/images/aad-azure-ad-settings.png b/public/docs/img/security/authentication/images/aad-azure-ad-settings.png index 67735b8c5f..3f645c025f 100644 Binary files a/public/docs/img/security/authentication/images/aad-azure-ad-settings.png and b/public/docs/img/security/authentication/images/aad-azure-ad-settings.png differ diff --git a/public/docs/img/security/authentication/images/google.png b/public/docs/img/security/authentication/images/google.png index 2b954d1c4c..596ab87341 100644 Binary files a/public/docs/img/security/authentication/images/google.png and b/public/docs/img/security/authentication/images/google.png differ diff --git a/public/docs/img/security/authentication/okta/okta-settings.png b/public/docs/img/security/authentication/okta/okta-settings.png index a17b3e68a1..11a398a375 100644 Binary files a/public/docs/img/security/authentication/okta/okta-settings.png and b/public/docs/img/security/authentication/okta/okta-settings.png differ diff --git a/src/pages/docs/security/authentication/azure-ad-authentication.mdx b/src/pages/docs/security/authentication/azure-ad-authentication.mdx index be036f3d5c..df3108232e 100644 --- a/src/pages/docs/security/authentication/azure-ad-authentication.mdx +++ b/src/pages/docs/security/authentication/azure-ad-authentication.mdx @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2023-01-01 -modDate: 2025-06-01 +modDate: 2026-11-27 title: Microsoft Entra ID authentication description: Octopus Deploy can use Microsoft Entra ID authentication to identify users. navOrder: 10 @@ -84,6 +84,13 @@ Support for OAuth code flow with PKCE was introduced in **Octopus 2022.2.4498**. ![Configure Logout URL](/docs/img/security/authentication/images/aad_logout_url.png) ::: +#### Add the email and xms_edov optional claims + +Octopus rejects a sign-in unless the ID token has an email address and an `xms_edov` claim, which says whether the email's domain is verified by the user's home tenant. Entra ID only sends them as optional claims. See [Require Email Domain Verified Claim](#require-email-domain-verified-claim) for details. + +1. Within your new App registration in Microsoft Entra ID, navigate to Manage > Token configuration. +2. Select **Add optional claim**, choose the **ID** token type, select `email` and `xms_edov`, then select **Add**. + #### Mapping Microsoft Entra ID users into Octopus teams (optional) If you want to manage user/team membership via Microsoft Entra ID, you must configure Roles for your App. To add Role(s), you can create and assign a new App Role in the Azure Portal or directly edit the App's manifest. @@ -227,9 +234,53 @@ Octopus.Server.exe configure --azureADIsEnabled=true --azureADIssuer=Issuer --az Alternatively, these settings can be defined through the user interface by selecting **Configuration ➜ Settings ➜ Entra ID** and populating the fields **Issuer**, **ClientId**, **ClientSecret**, and **IsEnabled**. If you want to remove the ClientSecret you can use the delete button shown in the screenshot. :::figure -![Settings](/docs/img/security/authentication/images/aad-azure-ad-settings.png) +![The Entra ID settings page in Octopus, showing Require Email Domain Verified Claim turned on](/docs/img/security/authentication/images/aad-azure-ad-settings.png) ::: +### Require Email Domain Verified Claim + +**Require Email Domain Verified Claim** rejects a sign-in unless the ID token has an email address and an `xms_edov` claim, which says whether the email's domain is verified by the user's home tenant. It's on by default. + +Entra ID only sends `email` for users who have an email address, so while the setting is on, a user without one can't sign in, rather than signing in with their UPN. Check that your users have an email address before you turn it on. + +Entra ID doesn't send `email_verified`, so the Entra ID provider has no **Require Email Verified Claim** setting. An `email_verified` or `xms_edov` claim that is present but isn't `true` is always rejected, whatever the setting. + +#### Upgrading Octopus + +When you upgrade, **Require Email Domain Verified Claim** is turned off if the Entra ID provider is enabled and has a **Client ID**, so existing sign-ins keep working if your app registration doesn't send the claims. + +:::div{.warning} +While the setting is off, Octopus trusts an email address that has no verified claim. Turn the setting on once you've checked that your app registration sends the claim. +::: + +#### Turn on the setting + +:::div{.warning} +Make sure you have another way to sign in as an administrator, such as a [Username and password](/docs/security/authentication/username-password) administrator. If the claims turn out to be missing, every Entra ID user is locked out, including administrators. +::: + +1. [Add the email and xms_edov optional claims](#add-the-email-and-xms_edov-optional-claims) to your app registration. +2. Check that the claims are sent, by [inspecting the contents of the security token](#inspect-the-contents-of-the-security-token) for a test user. +3. Navigate to **Configuration ➜ Settings ➜ Entra ID** and turn on **Require Email Domain Verified Claim**, or run the following from a command prompt in the folder where you installed Octopus Server: + +```powershell +Octopus.Server.exe configure --azureADRequireEmailDomainVerifiedClaim=true +``` + +#### Usernames of new users + +While **Require Email Domain Verified Claim** is on, a new user's **Username** is their verified email address rather than their UPN. + +#### Rejected sign-ins + +When Octopus rejects a sign-in, the message names the missing claim and the setting that turns the check off. For example: + +```text +User login failed: your identity provider didn't say whether it has verified your email address (no xms_edov claim). Ask your Octopus administrator to add the email and xms_edov optional claims to the Octopus app registration in Microsoft Entra ID, or to turn off Require Email Domain Verified Claim in Octopus. +``` + +Octopus records the attempt as a failed login. + ### Assign app registration roles to Octopus teams (optional) If you followed the optional steps to modify the App registration's manifest to include new roles, you can assign them to **Teams** in the Octopus Portal. @@ -315,7 +366,7 @@ Sometimes the contents of the security token sent back by Microsoft Entra ID are ![ID Token](/docs/img/security/authentication/images/5866123.png) ::: -5. Octopus uses most of the data to validate the token, but primarily uses the **sub**, **email**, and **name** claims. If these claims are not present, you will likely see unexpected behavior. +5. Octopus uses most of the data to validate the token, but primarily uses the **sub**, **email**, and **name** claims. If these claims are not present, you will likely see unexpected behavior. While **Require Email Domain Verified Claim** is on, Octopus also needs the **xms_edov** claim, and rejects the sign-in without it. ### EntraID Users with 200+ security groups diff --git a/src/pages/docs/security/authentication/googleapps-authentication.mdx b/src/pages/docs/security/authentication/googleapps-authentication.mdx index 15c539c235..5c4697a67a 100644 --- a/src/pages/docs/security/authentication/googleapps-authentication.mdx +++ b/src/pages/docs/security/authentication/googleapps-authentication.mdx @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2023-01-01 -modDate: 2024-12-10 +modDate: 2026-11-27 title: Google Workspace authentication description: Octopus Deploy can use Google Workspace authentication to identify users. navOrder: 15 @@ -60,9 +60,46 @@ Octopus.Server.exe configure --googleAppsIsEnabled=true --googleAppsClientId=Cli Alternatively these settings can be defined through the user interface by selecting **Configuration ➜ Settings ➜ GoogleApps** and populating the fields `Is Enabled`, `Hosted Domain`, `Client ID` and `Client Secret`. :::figure -![Settings](/docs/img/security/authentication/images/google.png) +![The Google Apps settings page in Octopus, showing Require Email Verified Claim turned on](/docs/img/security/authentication/images/google.png) ::: +### Require Email Verified Claim + +**Require Email Verified Claim** rejects a sign-in unless the security token has an email address and an `email_verified` claim. It's on by default. Google sends `email_verified` when Octopus asks for the `email` scope, which it does by default. + +An `email_verified` claim that is present but isn't `true` is always rejected, whatever the setting. + +#### Upgrading Octopus + +When you upgrade, **Require Email Verified Claim** is turned off if the Google provider is enabled and has a **Client ID**, so existing sign-ins keep working if Google doesn't send the claim. + +:::div{.warning} +While the setting is off, Octopus trusts an email address that has no verified claim. Turn the setting on once you've checked that Google sends the claim. +::: + +#### Turn on the setting + +:::div{.warning} +Make sure you have another way to sign in as an administrator, such as a [Username and password](/docs/security/authentication/username-password) administrator. If the claim turns out to be missing, every Google Workspace user is locked out, including administrators. +::: + +1. Check that the claim is sent, by [inspecting the contents of the security token](#inspect-the-contents-of-the-security-token) for a test user. +2. Navigate to **Configuration ➜ Settings ➜ GoogleApps** and turn on **Require Email Verified Claim**, or run the following from a command prompt in the folder where you installed Octopus Server: + +```powershell +Octopus.Server.exe configure --googleAppsRequireEmailVerifiedClaim=true +``` + +#### Rejected sign-ins + +When Octopus rejects a sign-in, the message names the missing claim and the setting that turns the check off. For example: + +```text +User login failed: your identity provider didn't say whether it has verified your email address (no email_verified claim). Ask your Octopus administrator to configure your identity provider to send the email and email_verified claims, or to turn off Require Email Verified Claim in Octopus. +``` + +Octopus records the attempt as a failed login. + ### Octopus user accounts are still required Even if you are using an external identity provider, Octopus still requires a [user account](/docs/security/users-and-teams/) so you can assign those people to Octopus teams and subsequently grant permissions to Octopus resources. Octopus will automatically create a [user account](/docs/security/users-and-teams) based on the profile information returned in the security token, which includes an **Identifier**, **Name**, and **Email Address**. @@ -119,5 +156,5 @@ Perhaps the contents of the security token sent back by Google Workspace aren't ::: 5. Don't worry if jwt.io complains about the token signature, it doesn't support RS256 which is used by Google Workspace. -6. Octopus uses most of the data to validate the token, but it primarily uses the `sub`, `email`, and `name` claims. If these claims are not present, you will likely see unexpected behavior. +6. Octopus uses most of the data to validate the token, but it primarily uses the `sub`, `email`, and `name` claims. If these claims are not present, you will likely see unexpected behavior. While **Require Email Verified Claim** is on, Octopus also needs the `email_verified` claim, and rejects the sign-in without it. 7. If you are not able to figure out what is going wrong, please send a copy of the decoded payload to our [support team](https://octopus.com/support) and let them know what behavior you are experiencing. diff --git a/src/pages/docs/security/authentication/index.md b/src/pages/docs/security/authentication/index.md index 45e42d3653..7ef78c6c6d 100644 --- a/src/pages/docs/security/authentication/index.md +++ b/src/pages/docs/security/authentication/index.md @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2023-01-01 -modDate: 2026-04-14 +modDate: 2026-11-27 title: Authentication description: Authentication options for Octopus Deploy including our internal provider, Active Directory, Microsoft Entra ID, Okta, and Google Workspace. navOrder: 50 @@ -93,6 +93,8 @@ You can also specify the details for multiple logins for each user. For example, When someone signs in to Octopus using an external authentication provider, Octopus will try to find their user account by looking for matching identifiers. It starts by looking for a matching identifiers from the external authentication provider, and will eventually fall back to match on email address. +For OpenID Connect providers, Octopus can require the email address to be verified by the identity provider. See the settings for [OpenID Connect](/docs/security/authentication/oidc-authentication#verified-email-claims), [Microsoft Entra ID](/docs/security/authentication/azure-ad-authentication#require-email-domain-verified-claim), [Okta](/docs/security/authentication/okta-authentication#require-email-verified-claim), and [Google Workspace](/docs/security/authentication/googleapps-authentication#require-email-verified-claim). + ## Changing authentication providers In some circumstances you may want to move from one authentication provider to another. The best way to do this is have a period of time where you enable both the new and old authentication providers. diff --git a/src/pages/docs/security/authentication/oidc-authentication/configuring-microsoft-entra.mdx b/src/pages/docs/security/authentication/oidc-authentication/configuring-microsoft-entra.mdx index ebbda3bc40..7fa1179fbb 100644 --- a/src/pages/docs/security/authentication/oidc-authentication/configuring-microsoft-entra.mdx +++ b/src/pages/docs/security/authentication/oidc-authentication/configuring-microsoft-entra.mdx @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2025-11-05 -modDate: 2025-12-10 +modDate: 2026-11-27 title: Configuring Microsoft Entra ID description: How to configure Octopus Deploy and Microsoft Entra to authenticate and identify users with OpenID Connect authentication. navTitle: Microsoft Entra ID @@ -10,7 +10,7 @@ navOrder: 6 ## Configure Microsoft Entra ID -[How to configure Microsoft Entra ID](/docs/security/authentication/azure-ad-authentication#configure-microsoft-entra-id) +[How to configure Microsoft Entra ID](/docs/security/authentication/azure-ad-authentication#configure-microsoft-entra-id), including [adding the email and xms_edov optional claims](/docs/security/authentication/azure-ad-authentication#add-the-email-and-xms_edov-optional-claims). ## Configure Octopus Server @@ -28,5 +28,13 @@ navOrder: 6 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. + - **Require Email Verified Claim** should be turned off, because Entra ID doesn't send `email_verified`. + - **Require Email Domain Verified Claim** should be turned on, so Octopus rejects a sign-in unless the security token has an email address and an `xms_edov` claim. While it's on, a new user's **Username** is their verified email address rather than the **Username Claim Type** value. See [Verified email claims](/docs/security/authentication/oidc-authentication#verified-email-claims). 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. + +You can also set the verified email settings from a command prompt in the folder where you installed Octopus Server: + +```powershell +Octopus.Server.exe configure --genericOidcRequireEmailVerifiedClaim=false --genericOidcRequireEmailDomainVerifiedClaim=true +``` diff --git a/src/pages/docs/security/authentication/oidc-authentication/index.mdx b/src/pages/docs/security/authentication/oidc-authentication/index.mdx index 50f3939b04..9ddab1739e 100644 --- a/src/pages/docs/security/authentication/oidc-authentication/index.mdx +++ b/src/pages/docs/security/authentication/oidc-authentication/index.mdx @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2025-11-05 -modDate: 2025-12-10 +modDate: 2026-11-27 title: OpenID Connect authentication description: Octopus Deploy can use OpenID Connect authentication to identify users. navTitle: General @@ -57,9 +57,70 @@ To use OIDC authentication with Octopus you will need to: 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. + - **Require Email Verified Claim** rejects a sign-in unless the security token has an email address and an `email_verified` claim. It's on by default. Only turn it off if your identity provider doesn't send both. + - **Require Email Domain Verified Claim** rejects a sign-in unless the security token has an email address and an `xms_edov` claim. It's off by default. Turn it on for [Microsoft Entra ID](/docs/security/authentication/oidc-authentication/configuring-microsoft-entra), and turn off **Require Email Verified Claim**, which Entra ID doesn't send. + :::div{.hint} + While either setting is on, a new user's **Username** is their verified email address rather than the **Username Claim Type** value. See [Verified email claims](#verified-email-claims) for details, including what happens when you upgrade. + ::: 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. +## Verified email claims + +Octopus can match a sign-in to an existing user by email address, and an email address your identity provider hasn't verified could belong to someone else. Two settings reject a sign-in unless the security token has an email address and a claim saying it's verified: + +| Setting | Claim | Default | +| --- | --- | --- | +| **Require Email Verified Claim** | `email_verified` | On | +| **Require Email Domain Verified Claim** | `xms_edov` | Off | + +Most identity providers send `email_verified` when Octopus asks for the `email` scope, which it does by default. Check your identity provider's documentation. Microsoft Entra ID doesn't send `email_verified`, so for Entra ID turn on **Require Email Domain Verified Claim** and turn off **Require Email Verified Claim**. See [Configuring Microsoft Entra ID](/docs/security/authentication/oidc-authentication/configuring-microsoft-entra). + +An `email_verified` or `xms_edov` claim that is present but isn't `true` is always rejected, whatever the settings. + +### Upgrading Octopus + +When you upgrade, **Require Email Verified Claim** is turned off if the OpenID Connect provider is enabled and has a **Client ID**, so existing sign-ins keep working if your identity provider doesn't send the claim. **Require Email Domain Verified Claim** stays off. + +:::div{.warning} +While the setting is off, Octopus trusts an email address that has no verified claim. Turn a setting on once you've checked that your identity provider sends the claim. +::: + +### Turn on the settings + +:::div{.warning} +Make sure you have another way to sign in as an administrator, such as a [Username and password](/docs/security/authentication/username-password) administrator. If the claim turns out to be missing, every user of the provider is locked out, including administrators. +::: + +1. Check that your identity provider sends the claim, by [inspecting the contents of the security token](#inspect-the-contents-of-the-security-token) for a test user. If it can't send the claim, you'll need to leave the setting off and accept the risk above. +2. Navigate to **Configuration ➜ Settings ➜ OpenID Connect** and turn on the setting, or run the command for your identity provider from a command prompt in the folder where you installed Octopus Server. + +For most identity providers: + +```powershell +Octopus.Server.exe configure --genericOidcRequireEmailVerifiedClaim=true +``` + +For [Microsoft Entra ID](/docs/security/authentication/oidc-authentication/configuring-microsoft-entra): + +```powershell +Octopus.Server.exe configure --genericOidcRequireEmailVerifiedClaim=false --genericOidcRequireEmailDomainVerifiedClaim=true +``` + +### Usernames of new users + +While either setting is on, a new user's **Username** is their verified email address rather than the **Username Claim Type** value. + +### Rejected sign-ins + +When Octopus rejects a sign-in, the message names the missing claim and the setting that turns the check off. For example: + +```text +User login failed: your identity provider didn't say whether it has verified your email address (no email_verified claim). Ask your Octopus administrator to configure your identity provider to send the email and email_verified claims, or to turn off Require Email Verified Claim in Octopus. +``` + +Octopus records the attempt as a failed login. + ## Assign external groups or roles to Octopus teams (optional) If you followed the optional steps to include role information as a claim, you can assign them to **Teams** in the Octopus Portal. @@ -121,7 +182,7 @@ Perhaps the contents of the security token sent back by your identity provider a ![A screenshot of the JWT debugger](/docs/img/security/authentication/images/5866123.png) -5. Octopus uses most of the data to validate the token, but primarily uses the `sub`, `email` and `name` claims. If these claims are not present you will likely see unexpected behavior. +5. Octopus uses most of the data to validate the token, but primarily uses the `sub`, `email` and `name` claims. If these claims are not present you will likely see unexpected behavior. While **Require Email Verified Claim** or **Require Email Domain Verified Claim** is on, Octopus also needs the `email_verified` or `xms_edov` claim, and rejects the sign-in without it. 6. If you are not able to figure out what is going wrong, please send a copy of the decoded payload to our [support team](https://octopus.com/support) and let them know what behavior you are experiencing. ### Octopus user accounts are still required diff --git a/src/pages/docs/security/authentication/okta-authentication.mdx b/src/pages/docs/security/authentication/okta-authentication.mdx index 88d1ce5fd6..d2b0bc922b 100644 --- a/src/pages/docs/security/authentication/okta-authentication.mdx +++ b/src/pages/docs/security/authentication/okta-authentication.mdx @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2023-01-01 -modDate: 2023-01-01 +modDate: 2026-11-27 title: Okta authentication description: Octopus Deploy can use Okta authentication to identify users. navOrder: 25 @@ -128,7 +128,7 @@ Octopus.Server.exe configure --OktaIsEnabled=true --OktaIssuer=Issuer --OktaClie Alternatively these settings can be defined through the user interface by selecting **Configuration ➜ Settings ➜ Okta** and populating the fields `Issuer`, `ClientId`, `ClientSecret` and `IsEnabled`. :::figure -![Settings](/docs/img/security/authentication/okta/okta-settings.png) +![The Okta settings page in Octopus, showing Require Email Verified Claim turned on](/docs/img/security/authentication/okta/okta-settings.png) ::: :::div{.hint} @@ -141,6 +141,47 @@ Run the command below as an Administrator to configure the scopes OpenId, Profil octopus.server.exe configure --oktaScope="openid%20profile%20email%20groups" ``` +### Require Email Verified Claim + +**Require Email Verified Claim** rejects a sign-in unless the security token has an email address and an `email_verified` claim. It's on by default. Okta sends `email_verified` when Octopus asks for the `email` scope, which it does by default. + +An `email_verified` claim that is present but isn't `true` is always rejected, whatever the setting. + +#### Upgrading Octopus + +When you upgrade, **Require Email Verified Claim** is turned off if the Okta provider is enabled and has a **Client ID**, so existing sign-ins keep working if Okta doesn't send the claim. + +:::div{.warning} +While the setting is off, Octopus trusts an email address that has no verified claim. Turn the setting on once you've checked that Okta sends the claim. +::: + +#### Turn on the setting + +:::div{.warning} +Make sure you have another way to sign in as an administrator, such as a [Username and password](/docs/security/authentication/username-password) administrator. If the claim turns out to be missing, every Okta user is locked out, including administrators. +::: + +1. Check that the claim is sent, by [inspecting the contents of the security token](#inspect-the-contents-of-the-security-token) for a test user. +2. Navigate to **Configuration ➜ Settings ➜ Okta** and turn on **Require Email Verified Claim**, or run the following from a command prompt in the folder where you installed Octopus Server: + +```powershell +Octopus.Server.exe configure --OktaRequireEmailVerifiedClaim=true +``` + +#### Usernames of new users + +While **Require Email Verified Claim** is on, a new user's **Username** is their verified email address rather than the **Username Claim Type** value. + +#### Rejected sign-ins + +When Octopus rejects a sign-in, the message names the missing claim and the setting that turns the check off. For example: + +```text +User login failed: your identity provider didn't say whether it has verified your email address (no email_verified claim). Ask your Octopus administrator to configure your identity provider to send the email and email_verified claims, or to turn off Require Email Verified Claim in Octopus. +``` + +Octopus records the attempt as a failed login. + ### Octopus user accounts are still required Octopus still requires a [user account](/docs/security/users-and-teams/) so you can assign those people to Octopus teams and subsequently grant permissions to Octopus resources. Octopus will automatically create a [user account](/docs/security/users-and-teams) based on the profile information returned in the security token, which includes an **Identifier**, **Name**, and **Email Address**. @@ -206,7 +247,7 @@ Perhaps the contents of the security token sent back by Okta aren't exactly the Don't worry if jwt.io complains about the token signature, it doesn't support RS256 which is used by Okta. ::: -5. Octopus uses most of the data to validate the token, but primarily uses the `sub`, `email` and `name` claims. If these claims are not present you will likely see unexpected behavior. +5. Octopus uses most of the data to validate the token, but primarily uses the `sub`, `email` and `name` claims. If these claims are not present you will likely see unexpected behavior. While **Require Email Verified Claim** is on, Octopus also needs the `email_verified` claim, and rejects the sign-in without it. 6. If you are not able to figure out what is going wrong, please send a copy of the decoded payload to our [support team](https://octopus.com/support) and let them know what behavior you are experiencing. ### Inspect the request to Okta for scope \{#inspect-request} diff --git a/src/pages/docs/security/authentication/troubleshooting-authentication-problems.md b/src/pages/docs/security/authentication/troubleshooting-authentication-problems.md index 107798d91e..e34d477597 100644 --- a/src/pages/docs/security/authentication/troubleshooting-authentication-problems.md +++ b/src/pages/docs/security/authentication/troubleshooting-authentication-problems.md @@ -1,7 +1,7 @@ --- layout: src/layouts/Default.astro pubDate: 2023-01-01 -modDate: 2023-01-01 +modDate: 2026-11-27 title: Troubleshooting authentication problems description: A guide for troubleshooting authentication problems in Octopus Deploy. navOrder: 50 @@ -53,6 +53,10 @@ This can happen for quite a number of reasons: 1. The time is incorrect on your computer, or your external authentication provider. This can cause your authentication cookies to expire and become unusable. Correct the time and configure your computers to automatically synchronize their time from a time server. 1. You are using Chrome and have not configured your external authentication provider to use HTTPS. Chrome has started to consider websites served over `http://` as unsafe and will refuse to accept cookies from those unsafe sites. Configure your external authentication provider to use HTTPS instead of HTTP. [Learn more about Chrome and the move toward a more secure web](https://security.googleblog.com/2016/09/moving-towards-more-secure-web.html). +### Unverified email address + +If the message says your identity provider didn't send or hasn't verified your email address, for example `User login failed: your identity provider didn't say whether it has verified your email address (no email_verified claim).`, the security token is missing a claim that Octopus requires, or has one that isn't `true`. To fix it, see the page for your provider: [OpenID Connect](/docs/security/authentication/oidc-authentication#verified-email-claims), [Microsoft Entra ID](/docs/security/authentication/azure-ad-authentication#require-email-domain-verified-claim), [Okta](/docs/security/authentication/okta-authentication#require-email-verified-claim), or [Google Workspace](/docs/security/authentication/googleapps-authentication#require-email-verified-claim). + ### Getting help from us {#support} If none of the above steps work, you can try toggling the "Remember me on this computer" check-box.