0

I connect only to Auth server and i need the JWT, by console is all ok, but not RestTemplate, i haven't idea how to do.

What would be the equivalent of the following:

curl -u secretId:secret http://localhost:9999/uaa/oauth/token -d username=user-d password=password -d grant_type=password

I need to use Spring RestTemplate, any idea how to?.

thanks and regards

Green - 4
  • 21
  • 11