Skip to content

Commit

Permalink
Fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
linxiaoxin committed Jun 5, 2024
1 parent df551bb commit a65d70b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions app/(full-page)/auth/google/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,11 @@ const GoogleAuthPage = () => {
console.log('redirection');
//redirect('/auth/access');
}
if(!GoogleSigninService.getAuthenticated(codeVerifier, authCode)){
console.log('google authentication fails');
redirect('/auth/access');
}
GoogleSigninService.getAuthenticated(codeVerifier, authCode)
},[])

return (<div>
<p>Google Response Success</p>
<p>{authCode}</p>
<p>{codeVerifier}</p>
</div>);
}

Expand Down

0 comments on commit a65d70b

Please sign in to comment.