How to integrate Okta OAuth Group with Grafana role mapping?

I am using the docker composer file for setup okta oauth config. Now login is working through Okta but for all user we have only one role showing which is Viewer. I am trying to map with grafana role mapping but i am not able to achieve.

role_attribute_path: contains(groups[], ‘Admins’) && ‘Admin’ || contains(groups[], ‘Editor’) && ‘Editor’ || ‘Viewer’

Following this doc : Configure Okta OAuth2 authentication | Grafana documentation

1 Like

Hello,

If you need to be able to setup the groups claim in Okta you can use the below link,