Announcement Announcement Module
No announcement yet.
/oauth/confirm_access customization Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • /oauth/confirm_access customization

    Hi all

    I'm currently trying to customize the confirm_access page, but it is impossible as the workflow always goes through WhitelabelApprovalEndpoint class.

    I checked a lot of pages on Google
    - Modify the user-approval-page attribute in <oauth:authorization-server>
    - Create a class AccessConfirmEndpoint having @Controller annotation + add it in the Spring configuration

    Please, does someone know how to simply have access to a custom class which forwards to /oauth/confirm_access (or another path ) and then customize the JSP page ?
    Wouldn't it be easier to let the developper add his own access confirmation bean instead of WhitelabelApprovalEndpoint ?

    I'm using spring oauth 2.0.1.RELEASE

    Thanks for your help