So I have the following Authorization Server condensed from this example from Dave Syer
@SpringBootApplication
publi
I found a solution using the solution for the question. But I have another way to describe the solution:
@Configuration
public class WebSecurityGlobalConfig extends WebSecurityConfigurerAdapter {
....
@Override
public void configure(WebSecurity web) throws Exception {
web.ignoring()
.antMatchers(HttpMethod.OPTIONS);
}
...
}