Auth: Docs add what needs to happen to change oauth_skip_org_role_update_sync (#63203)

* docs: add what needs to happen to change

* refactor docs

* Update docs/sources/setup-grafana/configure-grafana/_index.md

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>

---------

Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
Eric Leijonmarck 2023-02-14 03:02:36 +00:00 committed by GitHub
parent 0ee9d11a91
commit 06aec31b55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -859,6 +859,8 @@ Administrators can increase this if they experience OAuth login state mismatch e
> **Note**: This option is deprecated in favor of OAuth provider specific `skip_org_role_sync` settings. The following sections explain settings for each provider.
If you want to change the `oauth_skip_org_role_update_sync` setting to `false`, then for each provider you have set up, use the `skip_org_role_sync` setting to specify whether you want to skip the synchronization.
> **Warning**: Currently if no organization role mapping is found for a user, Grafana doesn't update the user's organization role.
> With Grafana 10, if `oauth_skip_org_role_update_sync` option is set to `false`, users with no mapping will be
> reset to the default organization role on every login. [See `auto_assign_org_role` option]({{< relref ".#auto_assign_org_role" >}}).