diff --git a/back/src/auth/auth.controller.ts b/back/src/auth/auth.controller.ts index 33841a8..0881563 100644 --- a/back/src/auth/auth.controller.ts +++ b/back/src/auth/auth.controller.ts @@ -79,4 +79,9 @@ export class AuthController { async googleAuthRedirect(@Request() req: any) { return this.authService.login(req.user); } + + @Post('google/mobile') + async googleMobileAuth(@Body('idToken') idToken: string) { + return this.authService.loginWithGoogleMobile(idToken); + } }