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 okta group 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