[Feature request] Allow customization of organization filtering in Generic Oauth #7201

Open
kri5 opened this Issue Jan 10, 2017 · 1 comment

Projects

None yet

2 participants

@kri5
kri5 commented Jan 10, 2017

Using grafana 4.0.1 on debian, and after following some issues on github, i attempted to configure gitlab oauth with the generic oauth provider, and it's working.

The issue is that the generic oauth provider waits for the Oauth API you want to log-in against to have the same routes as the Github one. That leads to the fact that you cannot filter on the gitlab groups, which is the equivalent of the github organizations, because the routes and attributes does not match.

So if you're running against gitlab.com, which is a shared instance of gitlab, you simply cannot use Oauth.

@torkelo
Member
torkelo commented Jan 10, 2017

Can you describe you would implement this? How does the generic auth know what gitlab groups the user has? (needs to be generic oauth 2 standard)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment