|
|
|
@@ -857,7 +857,7 @@ Administrators can increase this if they experience OAuth login state mismatch e
|
|
|
|
|
|
|
|
|
|
|
|
### oauth_skip_org_role_update_sync
|
|
|
|
### oauth_skip_org_role_update_sync
|
|
|
|
|
|
|
|
|
|
|
|
> **Note**: This option will soon be a legacy option in favor of OAuth provider specific `skip_org_role_sync` settings. The following sections explain settings for each provider.
|
|
|
|
> **Note**: This option is deprecated in favor of OAuth provider specific `skip_org_role_sync` settings. The following sections explain settings for each provider.
|
|
|
|
|
|
|
|
|
|
|
|
Skip forced assignment of OrgID `1` or `auto_assign_org_id` for external logins. Default is `false`.
|
|
|
|
Skip forced assignment of OrgID `1` or `auto_assign_org_id` for external logins. Default is `false`.
|
|
|
|
Use this setting to allow users with external login to be manually assigned to multiple organizations.
|
|
|
|
Use this setting to allow users with external login to be manually assigned to multiple organizations.
|
|
|
|
@@ -868,11 +868,14 @@ By default, the users' organization and role is reset on every new login.
|
|
|
|
> With Grafana 10, if `oauth_skip_org_role_update_sync` option is set to `false`, users with no mapping will be
|
|
|
|
> 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" >}}).
|
|
|
|
> reset to the default organization role on every login. [See `auto_assign_org_role` option]({{< relref ".#auto_assign_org_role" >}}).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
### skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`.
|
|
|
|
|
|
|
|
This option is useful when you want to manage the organization roles of your users from within Grafana or when you want to prevent synchronization conflicts when they are synchronized from another provider.
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.grafana_com] skip_org_role_sync
|
|
|
|
### [auth.grafana_com] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. Please note that there is also a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. Please note that there is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
The setting `oauth_skip_org_role_update_sync` will be deprecated in favor of provider-specific settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The table below show the OAuth provider and their setting with the default value and the skip org role sync setting.
|
|
|
|
The table below show the OAuth provider and their setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
@@ -884,9 +887,7 @@ The table below show the OAuth provider and their setting with the default value
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.azuread] skip_org_role_sync
|
|
|
|
### [auth.azuread] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. Please note that there is also a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. Please note that there is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
The setting `oauth_skip_org_role_update_sync` will be deprecated in favor of provider-specific settings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
@@ -898,9 +899,7 @@ The following table shows the OAuth provider's setting with the default value an
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.google] skip_org_role_sync
|
|
|
|
### [auth.google] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
Upon the first login from a user, we set the organization roles from the setting `AutoAssignOrgRole`. If you want to manage organizational roles, set the `skip_org_role_sync` option to `true`.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. Please note that there is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
> **Note:** There is a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
@@ -912,10 +911,9 @@ The following table shows the OAuth provider's setting with the default value an
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.github] skip_org_role_sync
|
|
|
|
### [auth.github] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. GitHub syncs organization roles and sets Grafana Admins.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. GitHub syncs organization roles and sets Grafana Admins. This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from GitHub.
|
|
|
|
This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from GitHub.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> **Note:** There is a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
Please note that there is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
@@ -927,10 +925,9 @@ The following table shows the OAuth provider's setting with the default value an
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.gitlab] skip_org_role_sync
|
|
|
|
### [auth.gitlab] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. GitLab syncs organization roles and sets Grafana Admins.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. GitLab syncs organization roles and sets Grafana Admins. This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from GitLab.
|
|
|
|
This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from GitLab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> **Note:** There is a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
> **Note:** There is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
@@ -942,10 +939,9 @@ The following table shows the OAuth provider's setting with the default value an
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.generic_oauth] skip_org_role_sync
|
|
|
|
### [auth.generic_oauth] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. the OAuth provider syncs organization roles and sets Grafana Admins.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. OAuth syncs organization roles and sets Grafana Admins. This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from the OAuth provider.
|
|
|
|
This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from the OAuth provider.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> **Note:** There is a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
> **Note:** There is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
@@ -957,10 +953,9 @@ The following table shows the OAuth provider's setting with the default value an
|
|
|
|
|
|
|
|
|
|
|
|
### [auth.okta] skip_org_role_sync
|
|
|
|
### [auth.okta] skip_org_role_sync
|
|
|
|
|
|
|
|
|
|
|
|
When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles through Grafana's UI, set the `skip_org_role_sync` option to `true`.
|
|
|
|
To prevent synchronization of organization roles for a specific OAuth integration, you can set the `skip_org_role_sync` option to `true`. When a user logs in the first time, Grafana sets the organization role based on the value specified in `AutoAssignOrgRole`. If you want to manage organization roles, set the `skip_org_role_sync` option to `true`. Okta syncs organization roles and sets Grafana Admins. This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from Okta.
|
|
|
|
This also impacts `allow_assign_grafana_admin` setting, by not syncing the grafana admin role from GitLab.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
> **Note:** There is a separate setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
> **Note:** There is a deprecated setting called `oauth_skip_org_role_update_sync` which has a different scope. While `skip_org_role_sync` only applies to the specific OAuth provider, `oauth_skip_org_role_update_sync` is a generic setting that affects all configured OAuth providers.
|
|
|
|
|
|
|
|
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
The following table shows the OAuth provider's setting with the default value and the skip org role sync setting.
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
| OAuth Provider | `oauth_skip_org_role_sync_update` | `skip_org_role_sync` | Behavior |
|
|
|
|
|