Skip to content

Commit

Permalink
Trigger deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
linxiaoxin committed Jul 11, 2024
1 parent 3adb1a3 commit 8117b72
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions app/(full-page)/auth/google/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ const GoogleAuthPage = () => {
},[isDenyAccess, isLogin])

useEffect(() => {
//console.debug(`client state ${clientState} received state ${state}`);
//console.debug(clientState != state);
//console.debug("authorisation code", authCode);
//console.debug("code verifier", codeVerifier);
if(state !== null || authCode !== null){
if(state !== null || authCode !== null){
if(clientState != state || !authCode){
console.log('redirection');
setIsDenyAccess(true);
Expand Down

0 comments on commit 8117b72

Please sign in to comment.