sources/saml: start implementing transient NameID format

This commit is contained in:
Jens Langhammer
2020-06-24 21:50:30 +02:00
parent c0d8aa2303
commit 05999cb8c7
5 changed files with 107 additions and 37 deletions

View File

@ -31,7 +31,7 @@ class InitiateView(View):
source: SAMLSource = get_object_or_404(SAMLSource, slug=source_slug)
if not source.enabled:
raise Http404
relay_state = request.GET.get("next", None)
relay_state = request.GET.get("next", "")
request.session["sso_destination"] = relay_state
parameters = {
"ACS_URL": build_full_url("acs", request, source),