diff --git a/umbraco-cloud/begin-your-cloud-journey/project-features/external-login-providers.md b/umbraco-cloud/begin-your-cloud-journey/project-features/external-login-providers.md index ff0517558b0..cc15eacbd1d 100644 --- a/umbraco-cloud/begin-your-cloud-journey/project-features/external-login-providers.md +++ b/umbraco-cloud/begin-your-cloud-journey/project-features/external-login-providers.md @@ -177,7 +177,15 @@ The **alias** must be unique across different login providers in the same enviro Learn about what type of data and information you need for each field in the configuration form. -
| Field | Description | Formatting |
|---|---|---|
| Alias | A unique alias for the provider. | Use only lower-case. Spaces are not allowed. |
| Client Id | A unique Client ID generated in the external login provider. | Entra ID: Guid Auth0: Random characters Google: {randomchars}.apps.googleusercontent.com |
| Client Secret | A secret that is generated in the External Login Provider and is associated with the Client Id. | |
| Authority | The URL for the External Login Provider. This can be found in the External Login Provider. | Entra ID: https://login.microsoftonline.com/<Directory (tenant)>Auth0: https://{accountId}.uk.auth0.comGoogle: https://accounts.google.com |
| Scopes | These are OpenID-Connect scopes. These are the minimum requirement and will allow the app to authenticate and get the users profile data, email and name. | Default values: openid, profile and email. |
| Auth Type | Currently only OpenIDConnect is available. | Default: OpenIdConnect |
| Default User Group | Choose which Umbraco User Group the user should be assigned to if nothing else is defined. Custom User Group added to the backoffice will also be available. | Default Options:AdministratorsWritersEditorsTranslatorsSensitive Data |
| Enforce User Group on login | A checkbox to choose whether each login will re-evaluate the users role or if it should happen only on the first login. | N/A |
| User Group Mappings | Use this field to map roles within the login provider with Umbraco User Groups. Example: A user with the "Content Editor" role in the login provider, will be added to the Writer User Group in Umbraco. | Login Provider Role = Umbraco User GroupEntra ID: Object ID of User Group = Umbraco User Group |
| No User Group Found Behaviour | This decides what happens if the mapping for the users User Group hasn't been defined. The options are to select the Default User Group or to disallow the user access to the backoffice. | Options: UseDefaultUserGroup, Unauthorized |
| User Group Claim Name | Your provider may assign users to specific roles (For example: Admin, Editor, Viewer). The User Group Claim Name is the field in the authentication token (claim) that identifies these roles. The system reads this claim to determine a user’s permissions. Example: If your provider sends roles in a claim named user_roles, you would set the User Group Claim Name to user_roles so the system can properly recognize user permissions. | Entra ID: email (ID), groups |
| Metadata Address | If you need a special metadata address for your External Login Provider, you can set it here. By default, the system will resolve the metadata address from the Authority Url, which is why this property is optional. | A common scenario for using a special metadata address is when working with Entra ID and configuring claims mapping. In this case, you must set the metadata address to the following:https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration?appid={client-id} |
| Field | Description | Formatting |
|---|---|---|
| Alias | A unique alias for the provider. | Use only lowercase. Spaces are not allowed. |
| Client ID | A unique Client ID generated in the external login provider. | Entra ID: Guid Auth0: Random characters Google: {randomchars}.apps.googleusercontent.com |
| Client Secret | A secret that is generated in the External Login Provider and is associated with the Client ID. | |
| Authority | The URL for the External Login Provider. This can be found in the External Login Provider. | Entra ID: https://login.microsoftonline.com/<Directory (tenant)>Auth0: https://{accountId}.uk.auth0.comGoogle: https://accounts.google.com |
| Scopes | These are OpenID Connect scopes. These are the minimum requirements and will allow the app to authenticate and get the user's profile data, email, and name. | Default values: openid, profile, and email. |
| Auth Type | Currently only OpenIDConnect is available. | Default: OpenIdConnect |
| Default User Group | Choose which Umbraco User Group the user should be assigned to if nothing else is defined. A custom User Group added to the backoffice will also be available. | Default Options:AdministratorsWritersEditorsTranslatorsSensitive Data |
| Enforce User Group on login | A checkbox to choose whether each login will re-evaluate the user's role or if it should happen only on the first login. | N/A |
| User Group Mappings | Use this field to map roles within the login provider with Umbraco User Groups. Example: A user with the "Content Editor" role in the login provider will be added to the Writer User Group in Umbraco. | Login Provider Role = Umbraco User GroupEntra ID: Object ID of User Group = Umbraco User Group |
| No User Group Found Behaviour | This defines what happens if the mapping for the user’s User Group hasn’t been defined. The options are to select the Default User Group or to disallow the user access to the backoffice. | Options: UseDefaultUserGroup, Unauthorized |
| User Group Claim Name | + +Your provider may assign users to specific roles (For example: Admin, Editor, Viewer). The User Group Claim Name is the field in the authentication token (claim) that identifies these roles. The system reads this claim to determine a user’s permissions. Example: If your provider sends roles in a claim named user_roles, you would set the User Group Claim Name to user_roles so the system can properly recognize user permissions.NOTE: If the field is left blank, the system will default to use http://schemas.microsoft.com/ws/2008/06/identity/claims/role as the claim name. |
+
+Entra ID: email (ID), groups |
| Metadata Address | If you need a special metadata address for your External Login Provider, you can set it here. By default, the system will resolve the metadata address from the Authority URL, which is why this property is optional. | A common scenario for using a special metadata address is when working with Entra ID and configuring claims mapping. In this case, you must set the metadata address to the following:https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration?appid={client-id}. |
http://schemas.microsoft.com/ws/2008/06/identity/claims/role as the claim name.
+{% endhint %}
+
## Signing in using the Login Provider
When trying to access Umbraco Cloud Portal through `s1.umbraco.io`, you are greeted by an Umbraco ID sign-in screen.