Skip to content

Commit

Permalink
Upgrade Spring Boot to 3.1.4 #2182
Browse files Browse the repository at this point in the history
Fix in OIDC auto configuration
  • Loading branch information
gorbunkov committed Oct 19, 2023
1 parent 9c9b1d9 commit aedef92
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -47,6 +47,7 @@
import org.springframework.security.oauth2.client.registration.ClientRegistrationRepository;
import org.springframework.security.web.SecurityFilterChain;
import org.springframework.security.web.access.intercept.AuthorizationFilter;
import org.springframework.security.web.util.matcher.AntPathRequestMatcher;

@AutoConfiguration
@Import({OidcConfiguration.class})
Expand Down Expand Up @@ -98,7 +99,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http,
authorize
//if we don't allow /vaadinServlet/PUSH URL the Session Expired toolbox won't
//be shown in the web browser
.requestMatchers("/vaadinServlet/PUSH/**").permitAll()
.requestMatchers(new AntPathRequestMatcher("/vaadinServlet/PUSH/**")).permitAll()
.anyRequest().authenticated();
})
.oauth2Login(oauth2Login -> {
Expand Down

0 comments on commit aedef92

Please sign in to comment.