The recommended way is to provide a normal Spring MVC @RequestMapping
for the "/oauth/confirm_access". You can look at WhitelabelApprovalEndpoint
for the default implementation. Don't forget to use @SessionAttributes("authorizationRequest")
in your controller.