From a820ff2e619a63c28fa1ce887eac57272e127fe5 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 5 Sep 2024 11:26:11 +0200 Subject: [PATCH 1/6] Add section about external login providers on Cloud --- .../security/external-login-providers.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/14/umbraco-cms/reference/security/external-login-providers.md b/14/umbraco-cms/reference/security/external-login-providers.md index 01fe16df0e1..e3cb9beaa8b 100644 --- a/14/umbraco-cms/reference/security/external-login-providers.md +++ b/14/umbraco-cms/reference/security/external-login-providers.md @@ -149,6 +149,33 @@ In those cases, it would mean that anyone who has a Google or Facebook account c If auto-linking for public providers such as these was needed you would need to limit the access. This can be done by domain or other information provided in the claims using the options/callbacks specified in those provider's authentication options. +{% hint style="info" %} +Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice. + +Extra configuration is required when working with External Login Providers on a project hosted on Umbraco Cloud. + +Follow the steps below to disable the automatic redirect to Umbraco ID: + +1. Open the umbraco-cloud.json file in your favorite code editor. +2. Locate the Identity section. +3. Add a new key: AutoRedirectLogin. +4. Set the value to false. + +{% code title="umbraco-cloud.json" %} + +```json +"Identity": { + "ClientId": "0297c0f6-83ad-4481-9ae2-07a3f5475333", + "ClientSecret": "Q5~T526ixOHlj47lg7Mu7_.zN1fK.7ua.9", + "EnvironmentId": "3105e6eb-4a1e-42dd-91e9-ffdbe3dd30a8", + "LocalLoginRedirectUri": "https://redirect.identity.umbraco.com", + "AutoRedirectLogin": false + } +``` + +{% endcode %} +{% endhint %} + ### Auto-linking on Member authentication Auto-linking on Member authentication only makes sense if you have a public member registration already or the provider does not have public account creation. From 8555be5400d33d06119debe3a33e071ab09550b3 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 5 Sep 2024 13:03:59 +0200 Subject: [PATCH 2/6] Add heading to note --- 14/umbraco-cms/reference/security/external-login-providers.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/14/umbraco-cms/reference/security/external-login-providers.md b/14/umbraco-cms/reference/security/external-login-providers.md index e3cb9beaa8b..d1307d39010 100644 --- a/14/umbraco-cms/reference/security/external-login-providers.md +++ b/14/umbraco-cms/reference/security/external-login-providers.md @@ -150,6 +150,8 @@ In those cases, it would mean that anyone who has a Google or Facebook account c If auto-linking for public providers such as these was needed you would need to limit the access. This can be done by domain or other information provided in the claims using the options/callbacks specified in those provider's authentication options. {% hint style="info" %} +**Is your project hosted on Umbraco Cloud?** + Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice. Extra configuration is required when working with External Login Providers on a project hosted on Umbraco Cloud. From 4088511c5c5a507a9aa74e0a85ce38b7b699e91c Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 5 Sep 2024 13:22:45 +0200 Subject: [PATCH 3/6] Add missing code formatting --- .../reference/security/external-login-providers.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/14/umbraco-cms/reference/security/external-login-providers.md b/14/umbraco-cms/reference/security/external-login-providers.md index d1307d39010..7d3ba00a5b7 100644 --- a/14/umbraco-cms/reference/security/external-login-providers.md +++ b/14/umbraco-cms/reference/security/external-login-providers.md @@ -158,10 +158,10 @@ Extra configuration is required when working with External Login Providers on a Follow the steps below to disable the automatic redirect to Umbraco ID: -1. Open the umbraco-cloud.json file in your favorite code editor. -2. Locate the Identity section. -3. Add a new key: AutoRedirectLogin. -4. Set the value to false. +1. Open the `umbraco-cloud.json` file in your favorite code editor. +2. Locate the `Identity` section. +3. Add a new key: `AutoRedirectLogin`. +4. Set the value to `false`. {% code title="umbraco-cloud.json" %} From 4c350cb5839a10f42c818352a3d201193facf517 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 5 Sep 2024 19:37:23 +0200 Subject: [PATCH 4/6] Update 14/umbraco-cms/reference/security/external-login-providers.md Co-authored-by: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> --- 14/umbraco-cms/reference/security/external-login-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/14/umbraco-cms/reference/security/external-login-providers.md b/14/umbraco-cms/reference/security/external-login-providers.md index 7d3ba00a5b7..5247fc1ec82 100644 --- a/14/umbraco-cms/reference/security/external-login-providers.md +++ b/14/umbraco-cms/reference/security/external-login-providers.md @@ -156,7 +156,7 @@ Umbraco Cloud uses Umbraco ID for all authentication, including access to the Um Extra configuration is required when working with External Login Providers on a project hosted on Umbraco Cloud. -Follow the steps below to disable the automatic redirect to Umbraco ID: +To disable the automatic redirect to Umbraco ID, follow these steps: 1. Open the `umbraco-cloud.json` file in your favorite code editor. 2. Locate the `Identity` section. From 1f80d4251fbd676ac10da2fe4282b21ac20b5851 Mon Sep 17 00:00:00 2001 From: sofietoft Date: Thu, 5 Sep 2024 19:38:02 +0200 Subject: [PATCH 5/6] Update 14/umbraco-cms/reference/security/external-login-providers.md Co-authored-by: Esha Noronha <82437098+eshanrnh@users.noreply.github.com> --- 14/umbraco-cms/reference/security/external-login-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/14/umbraco-cms/reference/security/external-login-providers.md b/14/umbraco-cms/reference/security/external-login-providers.md index 5247fc1ec82..a972c015080 100644 --- a/14/umbraco-cms/reference/security/external-login-providers.md +++ b/14/umbraco-cms/reference/security/external-login-providers.md @@ -154,7 +154,7 @@ If auto-linking for public providers such as these was needed you would need to Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice. -Extra configuration is required when working with External Login Providers on a project hosted on Umbraco Cloud. +If you are working with External Login Providers on a project hosted on Umbraco Cloud, extra configuration is required. To disable the automatic redirect to Umbraco ID, follow these steps: From 1544340654b254d4acdfccf100b2ac976533e8af Mon Sep 17 00:00:00 2001 From: sofietoft Date: Fri, 6 Sep 2024 10:36:58 +0200 Subject: [PATCH 6/6] Take info out of note --- 14/umbraco-cms/reference/security/external-login-providers.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/14/umbraco-cms/reference/security/external-login-providers.md b/14/umbraco-cms/reference/security/external-login-providers.md index a972c015080..d0c877e681e 100644 --- a/14/umbraco-cms/reference/security/external-login-providers.md +++ b/14/umbraco-cms/reference/security/external-login-providers.md @@ -149,8 +149,7 @@ In those cases, it would mean that anyone who has a Google or Facebook account c If auto-linking for public providers such as these was needed you would need to limit the access. This can be done by domain or other information provided in the claims using the options/callbacks specified in those provider's authentication options. -{% hint style="info" %} -**Is your project hosted on Umbraco Cloud?** +#### Is your project hosted on Umbraco Cloud? Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice. @@ -176,7 +175,6 @@ To disable the automatic redirect to Umbraco ID, follow these steps: ``` {% endcode %} -{% endhint %} ### Auto-linking on Member authentication