How to add custom OAuth approval page to 'Spring Boot OAuth2 Identity Server' -


@controller @sessionattributes(types = authorizationrequest.class) public class whitelablecontroller {      @requestmapping("/oauth/confirm_access")     public string getaccessconfirmation() throws exception {         return "access_confirmation";     } } 

when keep access_confirmation.html in 'public' or 'static' folders in spring boot not working. me on ?

404 error page :

whitelabel error page  application has no explicit mapping /error, seeing fallback.  fri aug 18 14:11:19 cest 2017 there unexpected error (type=not found, status=404). no message available 


Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -