Skip to content
Snippets Groups Projects
Commit 01c382d5 authored by Christian Boettcher's avatar Christian Boettcher
Browse files

try with relative redirect

parent 0b07f1d1
No related branches found
No related tags found
Loading
Pipeline #131184 passed
......@@ -33,7 +33,7 @@ class UnityIntegrationView(AppBuilderBaseView):
@unity.route('/')
@unity.route('/login')
def login():
redirect_uri = url_for('unity.authorize')
redirect_uri = url_for('.authorize', _external=True)
log.debug("Redirect uri is " + str(redirect_uri))
return oauth.unity.authorize_redirect(redirect_uri)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment