hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

Decode back possible Base64-encoded state in responseHandler

Open ioliva opened this issue 2 years ago • 1 comments

In PR #658 the property base64_state was added, to force the state param to be base64-encoded instead of URI encoded.

That makes the state impossible to decode when the flow returns to the calling page, so we detect if the returned state is in base64 and decode it accordingly if so, first of all.

ioliva avatar Jul 27 '23 14:07 ioliva

Hi @MrSwitch , could you kindly please review this? Thanks!

ioliva avatar Jul 28 '23 14:07 ioliva