Spring OAuth2 - custom “OAuth Approval” page at oauth/authorize

前端 未结 3 1773
轻奢々
轻奢々 2020-12-25 15:05

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

\"default

I have to completely o

3条回答
  •  醉梦人生
    2020-12-25 15:31

    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.

提交回复
热议问题