Commit 57b7051d authored by Sigmund Augdal's avatar Sigmund Augdal

Fix header with all attributes

parent e72f85e4
Pipeline #1625 passed with stage
in 1 minute and 6 seconds
......@@ -101,7 +101,7 @@ function setFeideHeaders(feide_data)
ngx.req.set_header("Remote-User", values[0])
end
end
ngx.req.set_header("X-Feide-Attributes", ngx.encode_base64(cjson.encode(attributes)))
ngx.req.set_header("X-Feide-Attributes", ngx.encode_base64(cjson.encode(feide_data)))
end
function clearHeaders()
......
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