what is recommended way to create custom pages OAuth Approval page:

I have to completely o
Implement your class with WebMvcConfigurer and
override
void addViewControllers(ViewControllerRegistry registry) method
@SpringBootApplication
@EnableAuthorizationServer
public class AuthServerApplication implements WebMvcConfigurer {
public static void main(String[] args) {
SpringApplication.run(AuthServerApplication.class, args);
}
@Override
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/oauth/confirm_access").setViewName("AuthorizationPage");
}
}
here AuthorizationPage is the html page you've created.