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

Can we include Keycloak as Auth in the Caddy Plugin? #4303

Open
3 tasks done
UNRA1DUser opened this issue Oct 17, 2024 · 5 comments
Open
3 tasks done

Can we include Keycloak as Auth in the Caddy Plugin? #4303

UNRA1DUser opened this issue Oct 17, 2024 · 5 comments
Labels
help wanted Contributor missing

Comments

@UNRA1DUser
Copy link

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
Can we include Keycloak as Auth in the Caddy Plugin?

Describe alternatives you've considered

Additional context

@Monviech
Copy link
Member

Somebody has to contribute that just like here:

#4104

Its probably easier to set up Authelia and use that with caddy.

@Monviech Monviech added the help wanted Contributor missing label Oct 18, 2024
@UNRA1DUser
Copy link
Author

Or maybe is it possible to add "oauth2-proxy" to it? So a lot of other Auth. could be configured than.

@Monviech
Copy link
Member

Monviech commented Oct 18, 2024

Do you mean this?

oauth2-proxy/oauth2-proxy#2485 (comment)

Please provide more information I don't wanne google things here. If you want something you have to be a bit more verbose in your request, please.

It doesnt look like there's much documentation or anything. So I rather not add it without having something available like this:

https://caddyserver.com/docs/caddyfile/directives/forward_auth#authelia

Why not use authelia as your intermediate and let it authenticate to your keycloak server?

@UNRA1DUser
Copy link
Author

Yes, I meant that one. Sorry for not providing so much information.

Oh is that also working with authelia? I didn't know that. So I could use authelia or authentik to authenticate with keycloak?

Sounds interesting. I will google it.

@Monviech
Copy link
Member

You can probably do something like OIDC but its not my expertise.

Both Keycloak and Authelia should support OIDC, so one could be the client of the other.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Contributor missing
Development

No branches or pull requests

2 participants