Skip to content

Commit 62e120b

Browse files
committed
fix: activities 시큐리티 엔드포인트 허용. redirecturi 수정
1 parent abaaca0 commit 62e120b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/sevenstar/marineleisure/global/config/SecurityConfig.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
5555
.requestMatchers("/map/**").permitAll()
5656
// 위험경보관련 API는 인증이 필요하지 않습니다.
5757
.requestMatchers("/alerts/**").permitAll()
58+
.requestMatchers("/activities/**").permitAll()
5859
// (6) 나머지는 인증 필요
5960
.anyRequest().authenticated()
6061
)

src/main/resources/application-prod.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ kakao:
5454
login:
5555
api_key: ${KAKAO_API_KEY}
5656
client_secret: ${KAKAO_CLIENT_SECRET}
57-
redirect_uri: http://localhost:8080/oauth/kakao/callback
57+
redirect_uri: http://localhost:5173/oauth/kakao/callback
5858
uri:
5959
code: /oauth/authorize
6060
base: https://kauth.kakao.com

0 commit comments

Comments
 (0)