From 8c7024d39b40e56ba84edfb111e30cd752feeff9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Funez?= Date: Tue, 21 May 2024 08:23:59 -0600 Subject: [PATCH] Updated KeycloakOpenID documentation about server_url For KeyCloak 17+ the authentication url changed, is not necessary to add "/auth" at the end of the url because this will throw a 404 error. --- docs/source/modules/openid_client.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/source/modules/openid_client.rst b/docs/source/modules/openid_client.rst index fc61697..ba3409c 100644 --- a/docs/source/modules/openid_client.rst +++ b/docs/source/modules/openid_client.rst @@ -12,6 +12,7 @@ Configure client OpenID from keycloak import KeycloakOpenID # Configure client + # For KeyCloak 17+ the server url must be something like "http://localhost:8080" without "/auth" keycloak_openid = KeycloakOpenID(server_url="http://localhost:8080/auth/", client_id="example_client", realm_name="example_realm",