Skip to content

Commit

Permalink
Testing server url for vix keycloak
Browse files Browse the repository at this point in the history
  • Loading branch information
Petar Popovski committed Feb 1, 2024
1 parent 63a6ee0 commit 0ba5484
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ckanext/keycloak/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 0ba5484

Please sign in to comment.