Customise oath2 token request to accept extra data
问题 I am using jersey and spring-oauth2 with spring security. My app is working fine with end points "/oauth/token". I want to change the endpoints to accept more data. The requirement is, I want to send more details to the token API (i.e. the device details OS, phone/tablet/web etc.). So, I want to override the endpoint and if authentication is successful, I want to store that extra information in database. I could not find anything related to changing the API in such a way. Can someone help?