Update KeyCloak Auth Provider oidc_issuer_url (#1661)
The correct URL for the oidc-issuer-url in KeyCloak v18.0 is: https://<keycloak host>/realms/<your realm>.
Using the old URL causes oauth2-proxy to crash on startup.
Co-authored-by: Joel Speed <Joel.speed@hotmail.co.uk>
commit01da2ac352d853050c5efd556cd06e2a407dcbb7
authorsnowjet <552963+snowjet@users.noreply.github.com>
dateSun 29 May 2022, 19:20 (4 years ago)
parent167acf7
docs/docs/configuration/auth.md+1−1
@@ -192,7 +192,7 @@ Make sure you set the following to the appropriate url:
192192 --client-id=<your client's id>
193193 --client-secret=<your client's secret>
194194 --redirect-url=https://myapp.com/oauth2/callback
195− --oidc-issuer-url=https://<keycloak host>/auth/<your realm>/basic
195+ --oidc-issuer-url=https://<keycloak host>/realms/<your realm>
196196 --allowed-role=<realm role name> // Optional, required realm role
197197 --allowed-role=<client id>:<client role name> // Optional, required client role
198198```