File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ def configure_keycloak(settings: Dynaconf) -> Dict[str, Any]:
92
92
)
93
93
data ["KEYCLOAK_HOST_LOOPBACK" ] = settings .get ("KEYCLOAK_HOST_LOOPBACK" , default = None )
94
94
data ["KEYCLOAK_URL" ] = f"{ KEYCLOAK_PROTOCOL } ://{ KEYCLOAK_HOST } :{ KEYCLOAK_PORT } "
95
- auth_url_str = "{keycloak}/auth/ realms/{realm}/protocol/openid-connect/auth/"
95
+ auth_url_str = "{keycloak}/realms/{realm}/protocol/openid-connect/auth/"
96
96
data ["SOCIAL_AUTH_KEYCLOAK_AUTHORIZATION_URL" ] = auth_url_str .format (
97
97
keycloak = data ["KEYCLOAK_URL" ], realm = KEYCLOAK_REALM
98
98
)
@@ -106,7 +106,7 @@ def configure_keycloak(settings: Dynaconf) -> Dict[str, Any]:
106
106
107
107
data [
108
108
"SOCIAL_AUTH_KEYCLOAK_ACCESS_TOKEN_URL"
109
- ] = f"{ data ['KEYCLOAK_URL' ]} /auth/ realms/{ KEYCLOAK_REALM } /protocol/openid-connect/token/"
109
+ ] = f"{ data ['KEYCLOAK_URL' ]} /realms/{ KEYCLOAK_REALM } /protocol/openid-connect/token/"
110
110
111
111
data ["SOCIAL_AUTH_LOGIN_REDIRECT_URL" ] = settings .get (
112
112
"SOCIAL_AUTH_LOGIN_REDIRECT_URL" , default = "/ui/"
You can’t perform that action at this time.
0 commit comments