gaia-app/gaia

✨ : Integration with OpenID Connect

candidson opened this issue · 1 comments

Is your feature request related to a problem? Please describe.
In addition to local users and groups, it would be very beneficial to integrate with OpenID Connect (KeyCloak, Dex) or OAUTH2 (such as Azure Active Directory) in order to handle the user management elsewhere.

Describe the solution you'd like
I would like to be able to login with my Azure Active Directory User via an OpenID Connect Tool such as DEX or KeyCloak. I would also like my permissions within Gaia to be dictated via the Groups which I am assigned to on the external Active Directory Tool. This would be similar to Grafana for example-

Describe alternatives you've considered
None

Additional context
Thats an example on Grafana
image

Hello,

I am now closing this issue since I actually found a way to work around it. In fact, after taking a deeper look at the github and gitlab OAUTH2 integration, I realized that all parameters there could be overwritten. I was then able to successfully bind a KeyCloak authentication, using "gitlab" as provider type. The not so nice thing is that I get this here, although it is not gitlab, but this is easily customizable :-)

image

I seem to not be able to assign "Admin" permissions to my OAUTH2 user though. Although the user really has admin permissions, i do not get the admins capabilities when logged in with that user. I am investigating this.

Thanks for the great work