Skip to content
Snippets Groups Projects
Commit 729d9b08 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

session is optional for user interactive auth

parent ad8187ca
No related branches found
No related tags found
No related merge requests found
......@@ -40,7 +40,7 @@ from_json(const nlohmann::json &obj, Unauthorized &u)
if (obj.contains("completed"))
u.completed = obj.at("completed").get<Stages>();
u.session = obj.at("session");
u.session = obj.value("session", "");
u.flows = obj.at("flows").get<std::vector<Flow>>();
if (obj.contains("params")) {
......
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