From 37f24f9fde73232d88c90a8f7af49c45d5078b23 Mon Sep 17 00:00:00 2001 From: Neven1986 Date: Sun, 15 Dec 2019 01:15:30 +0100 Subject: [PATCH] Correction of redirect URL after successful SAML login From my perspective, if agreed, this change can be merged, because the basic SAM auth. functionality is now present and was tested with "samlidp.io" iDP. However, there are further improvements which I would like to integrate, but as a separate features in separate pull requests --- powerdnsadmin/routes/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/powerdnsadmin/routes/index.py b/powerdnsadmin/routes/index.py index d10b690..097e92c 100644 --- a/powerdnsadmin/routes/index.py +++ b/powerdnsadmin/routes/index.py @@ -663,7 +663,7 @@ def saml_authorized(): user.update_profile() session['authentication_type'] = 'SAML' login_user(user, remember=False) - return redirect(url_for('index')) + return redirect(url_for('index.login')) else: return render_template('errors/SAML.html', errors=errors)