OAuth2 Password Grant Type with Client_Id & Client_Secret
问题 I am developing an app to access its own resources via Rest endpoints. Users are required to acquire access token via email/password. After completed Authentication server configuration, I had this observation: With: curl client:secret@localhost:9999/uaa/oauth/token -d grant_type=password -d username=user -d password=password I am getting the correct response: {"access_token":"7541a4f6-e841-41a0-8a54-abf8e0666ed1","token_type":"bearer","refresh_token":"d3fdd7e3-53eb-4e7b-aa45-b524a9e7b316",