Grafana Integration with Keycloak

Hi, I am facing issue while configuring OAuth tool (Keycloak) for authorisation to Grafana.

Usecases Solved:

  1. Authenticate Grafana using Keycloak
  2. Assign Grafana Roles (Admin/Editor/Viewer) to Users using Keycloak Roles when they authenticate using Keycloak : grafana.ini
role_attribute_path = contains(roles[*], 'admin') && 'Admin' || contains(roles[*], 'editor') && 'Editor' || 'Viewer'

Usecase Pending:

  1. Assign Users to Grafana Teams, on the basis of the assigned Keycloak Groups to Users

I am using Grafana OSS version 7.0.3, and I am using Keycloak tool for authentication and authorisation.
There is Teams Sync option in Enterprise version for the Pending Usecase, but I guess there should be some other workaround for this in OSS version as well.

Can anyone help me out.

No, there is no OSS Grafana feature to sync Grafana teams/organizations with details provided by Identity Provider. But of course you may try to write it - maybe as a plugin.

Okay @jangaraj, thank you for the information.