I’m trying to add authentication to my Spring Boot app, with this tutorial :
I created a “restricted” page, with this rule :
http.authorizeRequests() .antMatchers("/home").permitAll() .antMatchers("/restricted").authenticated();
But the restricted page do not go to okta login form. Instead, I have a 403 error (shown by my custom ErrorController)
Do you know how to investigate ?