File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,7 @@ import clsx from 'clsx'
1212import { initTracking } from 'web/lib/service/analytics'
1313import WebPush from "web/lib/service/web-push" ;
1414import AndroidPush from "web/lib/service/android-push" ;
15- import { GOOGLE_CLIENT_ID } from "web/lib/firebase/users" ;
16- import { WEB_URL } from "common/envs/constants" ;
15+ import { ANDROID_GOOGLE_CLIENT_ID } from "web/lib/firebase/users" ;
1716
1817// See https://nextjs.org/docs/basic-features/font-optimization#google-fonts
1918// and if you add a font, you must add it to tailwind config as well for it to work.
@@ -85,10 +84,10 @@ function MyApp({Component, pageProps}: AppProps<PageProps>) {
8584 const codeVerifier = localStorage . getItem ( 'pkce_verifier' ) ;
8685
8786 const body = {
88- client_id : GOOGLE_CLIENT_ID ,
87+ client_id : ANDROID_GOOGLE_CLIENT_ID ,
8988 code,
9089 code_verifier : codeVerifier ! ,
91- redirect_uri : ` ${ WEB_URL } /auth/callback` ,
90+ redirect_uri : 'com.compassmeet: /auth' ,
9291 grant_type : 'authorization_code' ,
9392 }
9493 console . log ( 'Body:' , body ) ;
You can’t perform that action at this time.
0 commit comments