Commit 7e595305 authored by Jon Kåre Hellan's avatar Jon Kåre Hellan

Merge branch '1-nonce-required-for-oidc-implicit-flow' into 'master'

Add nonce to auth request - required for oidc implicit

Closes #1

See merge request !2
parents 88b5c1c7 486cb41c
Pipeline #14637 passed with stages
in 3 minutes and 43 seconds
......@@ -1185,7 +1185,9 @@ define('jso',['require','exports','module','./store','./utils','./Config'],funct
request.response_type = opts.response_type;
}
if (request.response_type.split(/\s+/).includes("id_token")) {
request.nonce = utils.uuid()
}
if (callback && typeof callback === 'function') {
utils.log("About to store a callback for later with state=" + request.state, callback);
......
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