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 677c25e commit e4947cf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ protected SecurityFilterChain filterChain(HttpSecurity http) throws Exception {

) // ์ปค์Šคํ…€ ๋กœ๊ทธ์ธ ํŽ˜์ด์ง€๊ฐ€ ํ•„์š”ํ•˜์ง€ ์•Š์œผ๋ฏ€๋กœ, ๋กœ๊ทธ์ธ ์‹œ ๋ฆฌ๋‹ค์ด๋ ‰์…˜์ด ํ•„์š”์—†๋‹ค.
.redirectionEndpoint( redirection -> redirection
.baseUri("/login/oauth2/code/github") // OAuth 2.0 ๊ณต๊ธ‰์ž๋กœ๋ถ€ํ„ฐ ์ฝ”๋“œ๊ฐ€ ๋ฆฌ๋‹ค์ด๋ ‰์…˜๋  ๋•Œ์˜ ๊ธฐ๋ณธ URI
.baseUri("/login") // OAuth 2.0 ๊ณต๊ธ‰์ž๋กœ๋ถ€ํ„ฐ ์ฝ”๋“œ๊ฐ€ ๋ฆฌ๋‹ค์ด๋ ‰์…˜๋  ๋•Œ์˜ ๊ธฐ๋ณธ URI
//
) // ๋ฆฌ๋‹ค์ด๋ ‰์…˜ ์—”๋“œํฌ์ธํŠธ ์„ค์ •
.successHandler(successHandler) // OAuth 2.0 ๋กœ๊ทธ์ธ ์„ฑ๊ณต ์‹œ์˜ ํ•ธ๋“ค๋Ÿฌ๋ฅผ ์„ค์ •
Expand Down

0 comments on commit e4947cf

Please sign in to comment.