File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
src/main/java/hs/kr/backend/devpals/domain/auth/controller Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -137,9 +137,9 @@ public ResponseEntity<ApiResponse<String>> resetPassword(@RequestBody ResetPassw
137137 return authEmailService .resetPassword (request );
138138 }
139139
140- @ PostMapping ("/login" )
141- @ Operation (summary = "로그인 " , description = "아이디와 비밀번호를 입력하여 로그인을 진행합니다. 성공 시 JWT 토큰을 반환합니다 ." )
142- @ io .swagger .v3 .oas .annotations .responses .ApiResponse (responseCode = "200" , description = "로그인 성공" )
140+ @ GetMapping ("/oauth- login" )
141+ @ Operation (summary = "Oauth2.0 정보 가져오기 " , description = "Oauth2.0 소셜 로그인 성공 시 정보를 가져옵니다 ." )
142+ @ io .swagger .v3 .oas .annotations .responses .ApiResponse (responseCode = "200" , description = "Oauth2.0 정보 가져오기 성공" )
143143 @ io .swagger .v3 .oas .annotations .responses .ApiResponse (
144144 responseCode = "400" ,
145145 description = "계정이 존재하지 않거나 비밀번호 오류" ,
@@ -149,7 +149,6 @@ public ResponseEntity<ApiResponse<String>> resetPassword(@RequestBody ResetPassw
149149 examples = @ ExampleObject (value = "{\" success\" : false, \" message\" : \" 계정이 존재하지 않거나 비밀번호가 올바르지 않습니다.\" , \" data\" : null}" )
150150 )
151151 )
152- @ GetMapping ("/oauth-login" )
153152 public ResponseEntity <LoginResponse <TokenResponse >> oauthLogin (
154153 @ AuthenticationPrincipal CustomUserDetails userDetails ) {
155154
You can’t perform that action at this time.
0 commit comments