Commit f0de80c5 authored by Lukas Burgey's avatar Lukas Burgey

Change some logging

parent 3a0a7525
......@@ -23,6 +23,7 @@ def idp_id_from_request(request):
if idp_id is not None:
return idp_id
LOGGER.info('idp_id cookie was not set on request %s', request)
return default_idp().id
......@@ -118,8 +119,10 @@ class AuthCallback(View):
else:
# user authenticated -> back to frontend
login(request, user)
LOGGER.debug('AuthCallback: IdP %s authenticated user as %s', oidc_config, user)
response.set_cookie('sessionid', request.COOKIES['sessionid'])
LOGGER.info('AuthCallback: IdP %s authenticated user as %s', oidc_config, user)
# TODO is this needed?
# response.set_cookie('sessionid', request.COOKIES['sessionid'])
return response
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment