Grafana with FusionAuth

Hello,

I’ve connected Grafana with FusionAuth using oAuth

Here are my settings:

#################################### Generic OAuth ##########################
[auth.generic_oauth]
enabled = true
name = OAuth
allow_sign_up = true
client_id = ***
client_secret = ***
scopes = openid profile email
email_attribute_name = email:primary
;email_attribute_path =
;login_attribute_path =
;name_attribute_path =
;id_token_attribute_name =
auth_url = https://fusionauth.***.solutions/oauth2/authorize
token_url = https://fusionauth.***.solutions/oauth2/token
api_url = https://fusionauth.***.solutions/oauth2/userinfo
;allowed_domains =
team_ids =
allowed_organizations =
role_attribute_path = roles[0]
;tls_skip_verify_insecure = false
;tls_client_cert =
;tls_client_key =
;tls_client_ca =

I can login with Credentials stored in Fusionauth and logout works as well.

Next step I want to connect the application with roles (Admin, Editor, Viewer) in Fusionauth with Grafana. For example I am adding the user to the application and give him Editor rights. The user have the editor rights in Grafana as well. For organisation i would like to link the groups in Fusionauth as Organisations in Grafana.

Is that possible or do I need to make that happen by using the API, like creating organisation and adding the user with the rights into it ?

Thanks in advance

best regards

Simon

Did you ever get this figured out?

This topic was automatically closed after 365 days. New replies are no longer allowed.