diff --git a/src/main/kotlin/com/example/v1oauthauthorizationservice/infrastructure/configuration/security/SecurityConfiguration.kt b/src/main/kotlin/com/example/v1oauthauthorizationservice/infrastructure/configuration/security/SecurityConfiguration.kt index ace1fd6..1aeed47 100644 --- a/src/main/kotlin/com/example/v1oauthauthorizationservice/infrastructure/configuration/security/SecurityConfiguration.kt +++ b/src/main/kotlin/com/example/v1oauthauthorizationservice/infrastructure/configuration/security/SecurityConfiguration.kt @@ -60,11 +60,11 @@ class SecurityConfiguration( .requestMatchers(HttpMethod.GET, "/jwk").permitAll() .requestMatchers(HttpMethod.GET, "/oauth2/authorize").authenticated() .requestMatchers(HttpMethod.GET, "/oauth2/userinfo").permitAll() - .requestMatchers(HttpMethod.POST, "/user").permitAll() - .requestMatchers(HttpMethod.POST, "/user/login").permitAll() - .requestMatchers(HttpMethod.POST, "/user/reissue").authenticated() - .requestMatchers(HttpMethod.PUT, "/user/update").authenticated() - .requestMatchers(HttpMethod.GET, "/user/myInfo").authenticated() + .requestMatchers(HttpMethod.POST, "/oauth2/user").permitAll() + .requestMatchers(HttpMethod.POST, "/oauth2/user/login").permitAll() + .requestMatchers(HttpMethod.POST, "/oauth2/user/reissue").authenticated() + .requestMatchers(HttpMethod.PUT, "/oauth2/user/update").authenticated() + .requestMatchers(HttpMethod.GET, "/oauth2/user/myInfo").authenticated() .anyRequest().authenticated() .and()