Grafana doesn’t seem to work with custom scopes. Tried this with OKTA and doesn’t work. I seem to get the token back from okta but JMESPath expressions result in issues resulting in
Invalid type for: , expected: []jmespath.jpType{“array”, “string”}"
t=2021-05-13T17:10:29+0000 lvl=dbug msg=“OAuthLogin got user info” logger=oauth userInfo="&{Id:00ujq59ewmc5rCao40h7 Name:Alpha Charlie Email:alpha.charlie@gmail.comLogin:alpha.charlie@gmail.com Company: Role: Groups:[]}"
t=2021-05-13T17:10:29+0000 lvl=dbug msg=“Building external user info from OAuth user info” logger=oauth
t=2021-05-13T17:10:29+0000 lvl=dbug msg=“Syncing Grafana user with corresponding OAuth profile” logger=oauth