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

How to use it in a kemal webservice with keycloak? #1

Open
4ndyfix opened this issue Sep 30, 2024 · 3 comments
Open

How to use it in a kemal webservice with keycloak? #1

4ndyfix opened this issue Sep 30, 2024 · 3 comments

Comments

@4ndyfix
Copy link

4ndyfix commented Sep 30, 2024

Is it possible? Are there any examples available?

@straight-shoota
Copy link
Owner

There's an example for SSO via keycloak in https://github.com/straight-shoota/openid_connect/blob/master/examples/sso.cr

@4ndyfix
Copy link
Author

4ndyfix commented Sep 30, 2024

Thanks for your fast answer.
sso.cr uses a simple HTTP::Server that takes the auth_handler.
But how can this be done with kemal?

@straight-shoota
Copy link
Owner

You can add middleware handlers in Kemal as well: https://kemalcr.com/guide/#middleware

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

No branches or pull requests

2 participants