Skip to content

Commit 7b4f79c

Browse files
authored
Merge pull request #7294 from umbraco/cms/auto-link-default-groups
Added information about default groups when auto-linking backoffice accounts from external login providers
2 parents 5488bc6 + 8ea3371 commit 7b4f79c

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

13/umbraco-cms/reference/security/external-login-providers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,8 @@ In those cases, it would mean that anyone who has a Google or Facebook account c
151151

152152
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.
153153

154+
When auto-linking for the backoffice you will want to define what user groups the user will be part of. This is done via the `defaultUserGroups` parameter provided to the constructor of `ExternalSignInAutoLinkOptions` (see example below). If the value is not set the user will by default be added to the Editors group.
155+
154156
### Auto-linking on Member authentication
155157

156158
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.

14/umbraco-cms/reference/security/external-login-providers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ In those cases, it would mean that anyone who has a Google or Facebook account c
155155

156156
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.
157157

158+
When auto-linking for the backoffice you will want to define what user groups the user will be part of. This is done via the `defaultUserGroups` parameter provided to the constructor of `ExternalSignInAutoLinkOptions` (see example below). If the value is not set the user will by default be added to the Editors group.
159+
158160
#### Is your project hosted on Umbraco Cloud?
159161

160162
Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice.

15/umbraco-cms/reference/security/external-login-providers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ In those cases, it would mean that anyone who has a Google or Facebook account c
155155

156156
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.
157157

158+
When auto-linking for the backoffice you will want to define what user groups the user will be part of. This is done via the `defaultUserGroups` parameter provided to the constructor of `ExternalSignInAutoLinkOptions` (see example below). If the value is not set the user will by default be added to the Editors group.
159+
158160
#### Is your project hosted on Umbraco Cloud?
159161

160162
Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice.

16/umbraco-cms/reference/security/external-login-providers.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ In those cases, it would mean that anyone who has a Google or Facebook account c
155155

156156
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.
157157

158+
When auto-linking for the backoffice you will want to define what user groups the user will be part of. This is done via the `defaultUserGroups` parameter provided to the constructor of `ExternalSignInAutoLinkOptions` (see example below). You will need to explicitly assign these. If the value is not set the user will be part of no groups.
159+
158160
#### Is your project hosted on Umbraco Cloud?
159161

160162
Umbraco Cloud uses Umbraco ID for all authentication, including access to the Umbraco Backoffice.

0 commit comments

Comments
 (0)