We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 96000cd commit 79c3d4dCopy full SHA for 79c3d4d
new-sdks/tpp/sample/TokenRequestUrlSample.js
@@ -39,7 +39,7 @@ class TokenRequestUrlSample {
39
const state = encodeURIComponent(JSON.stringify({innerState: 'state'}));
40
const signature = await grantor.signTokenRequestState(tokenRequestId, token.id, state);
41
return `http://localhost/path?tokenId=${token.id}` +
42
- `&state=${state}&signature=${encodeURIComponent(JSON.stringify(signature))}`;
+ `&state=${encodeURIComponent(state)}&signature=${encodeURIComponent(JSON.stringify(signature))}`;
43
}
44
45
/**
0 commit comments