def redirect_to_sso(): resp = make_response(redirect(uic.login_url())) return resp
def redirect_to_sso(): sig = uic.gen_sig() resp = make_response(redirect(uic.login_url(sig, urllib.parse.quote(request.url)))) resp.set_cookie('sig', sig) return resp