Skip to content
Snippets Groups Projects
Verified Commit ead93896 authored by Mark's avatar Mark
Browse files

Use dynamic userinfo url

parent f6a9e74c
No related branches found
No related tags found
1 merge request!34Resolve "Replace Flask-oauth with oauthlib in test/login_logout"
......@@ -42,7 +42,7 @@ def index():
@app.route("/userinfo")
def info():
if sso.authorized:
resp = sso.session.get("/userinfo")
resp = sso.session.get(USERINFO_URL)
assert resp.ok
return jsonify(json.loads(resp.content.decode()))
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment