Commit be32cc95 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Add support in jso for setting response_type

parent c1eb5816
...@@ -1181,6 +1181,10 @@ define('jso',['require','exports','module','./store','./utils','./Config'],funct ...@@ -1181,6 +1181,10 @@ define('jso',['require','exports','module','./store','./utils','./Config'],funct
"state": utils.uuid() "state": utils.uuid()
}; };
if (opts.hasOwnProperty('response_type')) {
request.response_type = opts.response_type;
}
if (callback && typeof callback === 'function') { if (callback && typeof callback === 'function') {
......
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