Commit ee2376bb authored by janis.streib's avatar janis.streib 🦉
Browse files

FIX: use state from url instead of session

parent 58c4c291
......@@ -75,7 +75,7 @@ def oic_responder(t_host=None):
aresp = get_authorization_response(oic_client)
code = aresp["code"]
assert aresp["state"] == s["state"]
assert aresp["state"] == reuqest.args["state"]
args = {
"code": aresp['code'],
"redirect_uri": app.config.get('OIC_REDIR'),
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment