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 c9c6b03 commit 041334cCopy full SHA for 041334c
apps/docs/templates/oauth2-redirect.html
@@ -32,6 +32,7 @@
32
let clientId = oauth2.auth.clientId
33
let clientSecret = oauth2.auth.clientSecret;
34
let redirectUri = oauth2.redirectUrl
35
+ let codeVerifier = oauth2.auth.codeVerifier
36
37
// Convert client credentials to Base64
38
const credentials = btoa(`${clientId}:${clientSecret}`);
@@ -44,6 +45,7 @@
44
45
},
46
body: new URLSearchParams({
47
code: code,
48
+ code_verifier: codeVerifier,
49
grant_type: 'authorization_code',
50
redirect_uri: redirectUri
51
})
apps/docs/templates/openapi.html
@@ -141,7 +141,8 @@
141
clientId: clientId,
142
clientSecret: clientSecret,
143
scopeSeparator: " ",
144
- scopes: scopes
+ scopes: scopes,
145
+ usePkceWithAuthorizationCodeGrant: true
146
147
}
148
0 commit comments