Skip to content

Commit

Permalink
Merge pull request #1 from riyaadh-abrahams/riyaadh-abrahams-docs-patch
Browse files Browse the repository at this point in the history
Fix incorrect variable
  • Loading branch information
riyaadh-abrahams authored Dec 31, 2023
2 parents 383b296 + e1276c0 commit 049c6be
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 049c6be

Please sign in to comment.