Assignment of role after OAuth

  • What Grafana version and what operating system are you using? 10.2.3

  • What are you trying to achieve? Trying to assign Editor role while authorising GitHub OAUTH authentication

  • How are you trying to assign Editor role in Grafana for GitHub organisation member after setting up OAuth application and role_attribute_path = contains(groups[*], ‘nodbeku/teamgrafana’) ? ‘Admin’:‘Editor’

  • What happened?
    Only Viewer role is assigned

  • What did you expect to happen?
    Change in the role from Viewer to Editor

  • Can you copy/paste the configuration(s) that you are having problems with?
    Assignment of role

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?