Skip to content

Commit 6ad5fc2

Browse files
authored
Merge pull request #54 from WishWesee/develop
[DEPLOY]
2 parents d216574 + 1752149 commit 6ad5fc2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/depth/main/wishwesee/global/config/security/SecurityConfig.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,11 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
111111
)
112112
.addFilterBefore(customOncePerRequestFilter(), UsernamePasswordAuthenticationFilter.class)
113113
.oauth2Login(oauth2 -> oauth2
114-
.loginProcessingUrl("/oauth2/callback/**")
115114
.authorizationEndpoint(authorization -> authorization
116115
.baseUri("/oauth2/authorize")
117116
.authorizationRequestRepository(customAuthorizationRequestRepository))
118117
.redirectionEndpoint(redirection -> redirection
119-
.baseUri("/oauth2/callback/**"))
118+
.baseUri("/login/oauth2/code/*"))
120119
.userInfoEndpoint(userInfo -> userInfo
121120
.userService(customOAuth2UserService))
122121
.successHandler(oAuth2AuthenticationSuccessHandler)

0 commit comments

Comments
 (0)