From 0ba54840f0fb0116c0acfb45236d56a3793eb4b1 Mon Sep 17 00:00:00 2001 From: Petar Popovski Date: Thu, 1 Feb 2024 16:18:07 +0100 Subject: [PATCH] Testing server url for vix keycloak --- ckanext/keycloak/views.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ckanext/keycloak/views.py b/ckanext/keycloak/views.py index b63be37..840ab97 100644 --- a/ckanext/keycloak/views.py +++ b/ckanext/keycloak/views.py @@ -44,6 +44,7 @@ def _log_user_into_ckan(resp): def sso(): log.info("SSO Login") + log.info(server_url) auth_url = None try: auth_url = client.get_auth_url(redirect_uri=redirect_uri) @@ -53,6 +54,8 @@ def sso(): return tk.redirect_to(auth_url) def sso_login(): + log.info("sso_login") + log.info(server_url) data = tk.request.args token = client.get_token(data['code'], redirect_uri) userinfo = client.get_user_info(token)