We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 522d12d + 7b48bc6 commit 90a0447Copy full SHA for 90a0447
server/src/auth/auth.controller.ts
@@ -50,7 +50,6 @@ export default class AuthController {
50
// 2. 이 과정에서 passport-google-oauth20 전략이 사용되며, google.strategy.ts에 정의된 설정(clientID, clientSecret 등)을 사용합니다.
51
// 3. 사용자가 구글에서 인증을 완료하면 callbackURL로 지정된 '/google/callback' 엔드포인트로 리다이렉트됩니다.
52
@Get('/google/login')
53
- @UseGuards(AuthGuard('google'))
54
async googleAuth(@Req() req, @Res() res: Response) {
55
const locale = req.query.state || 'en';
56
// passport.authenticate에 state 전달
0 commit comments