Skip to content

Commit

Permalink
Merge pull request #33 from riyaadh-abrahams/main
Browse files Browse the repository at this point in the history
Fix typo in the docs
  • Loading branch information
pilcrowonpaper authored Jan 7, 2024
2 parents 91a29c3 + 049c6be commit 8d20820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/guides/oauth2-pkce.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ if (!code || !storedState || !storedCodeVerifier || state !== storedState) {
}

try {
const tokens = await google.validateAuthorizationCode(code, codeVerifier);
const tokens = await google.validateAuthorizationCode(code, storedCodeVerifier);
} catch (e) {
if (e instanceof OAuth2RequestError) {
const { request, message, description } = e;
Expand Down

0 comments on commit 8d20820

Please sign in to comment.