Commit 8f7d0eb3 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

use random nonce and state

parent 7abb225e
const implicit = {
get_token (cfg, parameters) {
parameters.state = "12345"
parameters.nonce = "12345"
parameters.state = btoa(Math.random())
parameters.nonce = btoa(Math.random())
if (cfg.verbosity) {
console.log("Parameters used to initiate OIDC flow:", parameters)
Supports Markdown
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