From cd6bd7e9fff2f5023bd1c83389d15d6325cdfd64 Mon Sep 17 00:00:00 2001 From: kevin olson Date: Thu, 15 Aug 2024 04:37:59 -0500 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F=20wrong=20url?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/utils/oauth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/utils/oauth.ts b/server/utils/oauth.ts index 0484fc2..d7fbb76 100644 --- a/server/utils/oauth.ts +++ b/server/utils/oauth.ts @@ -113,7 +113,7 @@ export const googleHandler = oauthGoogleEventHandler({ authorizationParams: import.meta.dev ? {} : { - redirect_uri: 'https://fume.bio/api/oauth/google/callback', + redirect_uri: 'https://fume.bio/api/oauth/google', }, }, async onSuccess(event: H3Event, { user }: { user: any }) { @@ -136,7 +136,7 @@ export const githubHandler = oauthGitHubEventHandler({ authorizationParams: import.meta.dev ? {} : { - redirect_uri: 'https://fume.bio/api/oauth/github/callback', + redirect_uri: 'https://fume.bio/api/oauth/github', }, }, async onSuccess(event: H3Event, { user }: { user: any }) {