【问题标题】:Spring boot, Spring OAuth2, RESTSpring Boot、Spring OAuth2、REST
【发布时间】:2017-02-12 03:09:00
【问题描述】:

我只连接到 Auth 服务器,我需要 JWT,通过控制台一切正常,但不是 RestTemplate,我不知道该怎么做。

相当于以下内容:

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

我需要使用 Spring RestTemplate,知道怎么做吗?

感谢和问候

【问题讨论】:

    标签: rest spring-boot spring-oauth2


    【解决方案1】:
    猜你喜欢
    • 2017-05-28
    • 2017-09-11
    • 2016-10-06
    • 2018-08-13
    • 2020-10-25
    • 1970-01-01
    • 2022-11-03
    • 1970-01-01
    • 2018-05-07
    相关资源
    最近更新 更多