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 -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -