Hi All,

I have managed to get CAS 5.1.3 up and running. I am successfully 
authenticating with Active Directory. Now trying to get Oauth working with 
Grafana. It's working up to the point where Grafana queries  
/cas/oauth2.0/profile 
for the profile. 

The error in Grafana: Error getting user info: json: cannot unmarshal 
string into Go struct field .attributes of type []string

A google search has lead me 
to https://github.com/grafana/grafana/issues/8600 that suggests that the 
json structure is different to what Grafana is expecting. According to the 
last post on the page user profile needs to return "name" and "email" 
fields directly, not nested inside attributes object.

So my question now is can I change the structure so that its reported the 
way grafana is expecting? If I can change it any ideas how?


Kind regards,

Peter

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/350f7174-f101-4b7d-ac02-44e9ac9f0d6e%40apereo.org.

Reply via email to