File tree Expand file tree Collapse file tree
server/src/main/java/invite/security Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616import org .springframework .core .env .Environment ;
1717import org .springframework .core .env .Profiles ;
1818import org .springframework .scheduling .annotation .EnableScheduling ;
19- import org .springframework .security .authorization .AuthorizationDecision ;
2019import org .springframework .security .config .Customizer ;
2120import org .springframework .security .config .annotation .method .configuration .EnableMethodSecurity ;
2221import org .springframework .security .config .annotation .web .builders .HttpSecurity ;
@@ -253,7 +252,7 @@ SecurityFilterChain jwtSecurityFilterChain(HttpSecurity http) throws Exception {
253252 @ Order (4 )
254253 public SecurityFilterChain internalCRMApiSecurityFilterChain (HttpSecurity http ) throws Exception {
255254 http
256- .securityMatcher ("/crm/profile/**" ,"/crm/api/v1/**" )
255+ .securityMatcher ("/crm/profile/**" , "/crm/api/v1/**" , "/api/profile " )
257256 //crm/api/v1/invite/resend /crm/api/v1/profiles
258257 .sessionManagement (session ->
259258 session .sessionCreationPolicy (SessionCreationPolicy .STATELESS )
You can’t perform that action at this time.
0 commit comments