Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup an SSO service for admin interfaces #375

Open
delroth opened this issue Feb 13, 2024 · 10 comments
Open

Setup an SSO service for admin interfaces #375

delroth opened this issue Feb 13, 2024 · 10 comments

Comments

@delroth
Copy link
Contributor

delroth commented Feb 13, 2024

Some of our admin interfaces are currently stuck on Wireguard because they don't support (or badly support) HTTP authentication / authorization. Most notably right now: Alertmanager.

We should setup some kind of auth proxy - my first pick would be Authentik, but no strong preference. Then we can move some of the services behind it, and possibly also replace some stuff that currently have their own user accounts (Grafana? maybe even Hydra?).

@mweinelt
Copy link
Member

My first pick would be kanidm. Our packaging in nixpkgs is great, and we have a great relationship with the upstream.

@delroth
Copy link
Contributor Author

delroth commented Feb 13, 2024

Sounds even better then!

@mweinelt
Copy link
Member

mweinelt commented Feb 14, 2024

kanidm + oauth2_proxy sounds like the right pairing for the described use case.

Edit: Actually, alertmanager seems to have native oauth2 support. https://prometheus.io/docs/alerting/latest/configuration/#oauth2

@mweinelt
Copy link
Member

The alternative would be a simpler setup that binds to GitHub accounts, like https://dexidp.io/docs/connectors/github/, in which case we would use GitHub as an identity provider.

@FKouhai
Copy link

FKouhai commented Feb 13, 2025

keycloak would be another really good tool for this, I've used it in the past and it felt very seamless

@mweinelt
Copy link
Member

Keycloak is the fat industry standard. I'm aware of it, but I'm not sure I want it.

@FKouhai
Copy link

FKouhai commented Feb 13, 2025

yeah, thats fair :)

@jfly
Copy link
Contributor

jfly commented Feb 20, 2025

For the record, I believe @Erethon is working on something adjacent to this for the Grist trial.

@Erethon
Copy link
Contributor

Erethon commented Feb 26, 2025

For the record, I believe @Erethon is working on something adjacent to this for the Grist trial.

Indeed, it's adjacent. One of the requirements for Grist is to have an OIDC provider, as such I'm looking into Dex which was already mentioned in this thread. If Dex sounds like a solution we would like to pursue (regardless of Grist), I can open a draft PR to test it out.

@mweinelt
Copy link
Member

mweinelt commented Feb 26, 2025

For alertmanager we just went with oauth2proxy against the GitHub infra3 team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

5 participants