Skip to content

Commit

Permalink
Merge pull request #17 from mungtage/feature/#15
Browse files Browse the repository at this point in the history
Fix : 구글로그인 설정 변경
  • Loading branch information
jhdl0157 authored Oct 20, 2022
2 parents 641f532 + e97d9de commit 70835dc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class LostController {

@PreAuthorize("isAuthenticated()")
@PostMapping("")
public ResponseEntity<LostResponseDto> createLost(@RequestBody CreateLostRequestDto request,Principal principal) {
public ResponseEntity<LostResponseDto> createLost(@RequestBody CreateLostRequestDto request, Principal principal) {
String userEmail=principal.getName();
Lost lost = lostService.createLost(request,userEmail);
return ResponseEntity.ok().body(LostResponseDto.from(lost));
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spring:
scope:
- profile
- email
redirect-uri: http://localhost:3000/frontend/auth
provider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorize
Expand Down
1 change: 1 addition & 0 deletions src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ spring:
scope:
- profile
- email
redirect-uri: http://localhost:3000/frontend/auth
provider:
kakao:
authorization-uri: https://kauth.kakao.com/oauth/authorize
Expand Down

0 comments on commit 70835dc

Please sign in to comment.