moved oauth controller endpoints to auth

This commit is contained in:
Sheen Capadngan
2023-05-24 23:44:30 +08:00
parent 93cf7cde2d
commit fac4968193
11 changed files with 25 additions and 37 deletions
+1 -1
View File
@@ -68,7 +68,7 @@ const initializePassport = async () => {
passReqToCallback: true,
clientID: googleClientId,
clientSecret: googleClientSecret,
callbackURL: '/api/v1/oauth/callback/google',
callbackURL: '/api/v1/auth/callback/google',
scope: ['profile', ' email'],
}, async (
req: express.Request,