From 46c44869f1f31df24c2505ed0c32968802bc2ad4 Mon Sep 17 00:00:00 2001 From: Adelina Enache Date: Wed, 12 Jun 2024 17:22:49 +0300 Subject: [PATCH] fix apple callback endpoint http verb (#108) --- src/auth/controller/auth.controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/controller/auth.controller.ts b/src/auth/controller/auth.controller.ts index 87a617b..d3a70ea 100644 --- a/src/auth/controller/auth.controller.ts +++ b/src/auth/controller/auth.controller.ts @@ -224,7 +224,7 @@ export class AuthController { } @Public() - @Get('apple/callback') + @Post('apple/callback') @UseGuards(AuthGuard('apple')) async appleOAuthCallback(@Req() req, @Res() res) { const user = await this.authService.handleAppleOAuthLogin(req);