Java Architecture Diary
Apr 20, 2020 · Backend Development
Customize Spring Security OAuth Token Responses with HandlerMethodReturnValueHandler & AOP
This article explains how to modify the default OAuth2 token response format in Spring Security by adding custom fields using a HandlerMethodReturnValueHandler implementation or an AOP advice, and discusses the implications of deviating from the OAuth2 specification.
aopcustom token
0 likes · 5 min read
