Docs: Add 8.0 data sources and auth content to What's new (#34148)

* Update whats-new-in-v8-0.md

* Update generic-oauth.md

* Update whats-new-in-v8-0.md
This commit is contained in:
Diana Payton
2021-05-17 16:38:57 +02:00
committed by GitHub
parent 1e566e7783
commit d3d4c774e6
2 changed files with 66 additions and 6 deletions
+2 -6
View File
@@ -5,10 +5,10 @@ keywords = ["grafana", "configuration", "documentation", "oauth"]
weight = 500
+++
# Generic OAuth Authentication
# Generic OAuth authentication
You can configure many different OAuth2 authentication services with Grafana using the generic OAuth2 feature. Examples:
- [Generic OAuth Authentication](#generic-oauth-authentication)
- [Generic OAuth authentication](#generic-oauth-authentication)
- [Set up OAuth2 with Auth0](#set-up-oauth2-with-auth0)
- [Set up OAuth2 with Bitbucket](#set-up-oauth2-with-bitbucket)
- [Set up OAuth2 with Centrify](#set-up-oauth2-with-centrify)
@@ -63,14 +63,10 @@ Grafana will attempt to determine the user's e-mail address by querying the OAut
Grafana will also attempt to do role mapping through OAuth as described below.
> Only available in Grafana v6.5+.
Check for the presence of a role using the [JMESPath](http://jmespath.org/examples.html) specified via the `role_attribute_path` configuration option. The JSON used for the path lookup is the HTTP response obtained from querying the UserInfo endpoint specified via the `api_url` configuration option. The result after evaluating the `role_attribute_path` JMESPath expression needs to be a valid Grafana role, i.e. `Viewer`, `Editor` or `Admin`.
See [JMESPath examples](#jmespath-examples) for more information.
> Only available in Grafana v7.2+.
Customize user login using `login_attribute_path` configuration option. Order of operations is as follows:
1. Grafana evaluates the `login_attribute_path` JMESPath expression against the ID token.