Skip to content

Commit ccfa7d8

Browse files
docs: fix exchangeToken params nesting in EXAMPLES.md
1 parent 3d98928 commit ccfa7d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

EXAMPLES.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -117,10 +117,8 @@ const TokenExchange = () => {
117117
const tokenResponse = await exchangeToken({
118118
subject_token: externalToken,
119119
subject_token_type: 'urn:your-company:legacy-system-token',
120-
authorizationParams: {
121-
audience: 'https://api.example.com/',
122-
scope: 'openid profile email',
123-
},
120+
audience: 'https://api.example.com/',
121+
scope: 'openid profile email',
124122
});
125123

126124
setTokens(tokenResponse);

0 commit comments

Comments
 (0)