Skip to content

Commit

Permalink
feat: 구현한 api 권한 설정
Browse files Browse the repository at this point in the history
- 개발의 편의성을 위해 기본값을 `permitAll`로 수정
  • Loading branch information
yechan-kim committed Nov 17, 2024
1 parent 62ee2ae commit 91992cb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,9 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
authorize
.requestMatchers("/v3/api-docs/**", "/swagger-ui/**").permitAll() // API 명세서
.requestMatchers("/login/**").permitAll() // 구글 로그인
.anyRequest().authenticated()
.requestMatchers("/v1/user/**").permitAll() // 사용자
.requestMatchers("/v1/character/**").permitAll() // 캐릭터
.anyRequest().permitAll()
);

http
Expand Down

0 comments on commit 91992cb

Please sign in to comment.