Skip to content

Commit

Permalink
๐Ÿ› oauth2 ๋ฆฌ๋‹ค์ด๋ ‰์…˜ ์„ค์ •
Browse files Browse the repository at this point in the history
- 401 ์—๋Ÿฌ๋ฅผ ์ˆ˜์ •ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค.
  • Loading branch information
Ganghee-Lee-0522 committed Jan 12, 2024
1 parent dd4e1d4 commit b9e35e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public class SecurityConfig {
private final CustomOAuth2UserService customOAuth2UserService;

private String[] permitList={
"/login", // ๋กœ๊ทธ์ธ ํŽ˜์ด์ง€
"/login/oauth2/code/github",
"/api/auth/**",
"/api/auth/login", // ๋กœ๊ทธ์ธ ์‹œ Jwt Filter๋ฅผ ๊ฑฐ์ณ๋ฒ„๋ฆผ ์•ˆ ๊ฑฐ์น˜๊ฒŒ ์ˆ˜์ •
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ protected boolean shouldNotFilter(HttpServletRequest request) throws ServletExce
|| path.equals("/api/auth/redirect")
|| path.equals("/login/oauth2/code/github")
|| path.equals("/health")
|| path.equals("/login")
;
}
}

0 comments on commit b9e35e2

Please sign in to comment.