vouch / vouch-proxy

an SSO and OAuth / OIDC login solution for Nginx using the auth_request module
MIT License
2.88k stars 326 forks source link

Sample config.yaml file for Keycloak #551

Open shkpk opened 7 months ago

shkpk commented 7 months ago
Dialgatrainer02 commented 7 months ago

hello i am trying to use vouch with keycloak and have been using this config as a guideline im currently having issues and thinks its to do with keycloak using preferred_username instead of username as a claim type. This config doesn't mention it. has this config actually worked for you? If it has then i can continue troubleshooting as i know its not this. you can see how i got to this point in #553

shkpk commented 7 months ago

hello i am trying to use vouch with keycloak and have been using this config as a guideline im currently having issues and thinks its to do with keycloak using preferred_username instead of username as a claim type. This config doesn't mention it. has this config actually worked for you? If it has then i can continue troubleshooting as i know its not this. you can see how i got to this point in #553

Which preferred username you are using? There is no need for it in vouch proxy config. You just need to use client id and secret. and yes my config works and I'm using them in production.