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

Update Keycloak Example #62

Open
Shadow-Labs-Dev opened this issue Jul 18, 2024 · 7 comments
Open

Update Keycloak Example #62

Shadow-Labs-Dev opened this issue Jul 18, 2024 · 7 comments

Comments

@Shadow-Labs-Dev
Copy link

Shadow-Labs-Dev commented Jul 18, 2024

Im currently running a complied version with xcaddy v2.8.4. However when trying to validate the configuration useing caddy validate /etc/caddy/Caddyfile it spits out

Can you update to make your mathcing with the latest version of caddy? Any help is much appreciated.

@greenpau
Copy link
Collaborator

@shadow-security1 , the error you are getting is about security directive. This config does not seem to be valid. What is the reference configuration you were using when building the config?

@Shadow-Labs-Dev
Copy link
Author

I was basing it off the documentation for the modules and compilied version from using xcaddy.

@greenpau
Copy link
Collaborator

@shadow-security1 , please this reference configuration. greenpau/caddy-security#353
The config file above is invalid for the latest version of caddy-security plugin.

@Shadow-Labs-Dev
Copy link
Author

One issue i have is your recommendation to disable any other key signatures in keycloak that is not a vaild nor standard practice or recommendation for keycloak/odic

@greenpau
Copy link
Collaborator

greenpau commented Jul 19, 2024

One issue i have is your recommendation to disable any other key signatures in keycloak that is not a vaild nor standard practice or recommendation for keycloak/odic

@shadow-security1 , please submit PR to change the doc. First, the doc was written a long time ago and things have changes. At the time, that was the only way to make it work with the authentication portal. Second, I don’t use it myself and was helping someone like yourself to figure things out. That user set the instance for me and we worked on it together. I would love for Keyclock maintainers to maintain the doc page, but that is not realistic 😄

@Shadow-Labs-Dev
Copy link
Author

I feel that i think ive got a configuration working to some issue but would need more help before i can get the update provided. I removed my config for privacy reasons but happy to collaborate with this. Im not sure how to best exchange and support the effort.

@greenpau
Copy link
Collaborator

@shadow-security1 , reach out on Linkedin and we will get on Google Meet to troubleshoot.

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