jso icon indicating copy to clipboard operation
jso copied to clipboard

Add support for nonces

Open cajus opened this issue 6 years ago • 2 comments

Services like dex require a nonce for token auth. Added it.

cajus avatar Apr 23 '18 09:04 cajus

@cajus I think you can use something like:

let client = new JSO({
  client_id: ...,
  authorization: ...,
  request: {'nonce': "<YOUR PARAM>'},
});

I have a server that requires this nonce and I'm passing it like that and it works Is that what you need?

antonelepfl avatar Jun 25 '18 08:06 antonelepfl

Dex adds a nonce, but it doesn't work without the patch.

cajus avatar Jun 25 '18 09:06 cajus