-3

I am getting browser authentication popup, when I trying to access swagger page.

Spring Boot 3.0.2

browser authentication popup image

1 Answers1

0

If I correctly understood your question, you need to disable security checking for Swagger. You can manage WebSecurityConfiguration for this purpose, for example:

@Override
  public void configure(HttpSecurity http) throws Exception {
    http.authorizeRequests()
        .antMatchers(
            "/swagger-ui.html/**",
            "/swagger-resources/**")
        .permitAll();
    }

You can also check the same question here.