Home

Test [IvhCnKlGEs6Pmu3DKFZ0]

针对不同的grant_type提供不同的测试URL, 完整的OAuth测试请访问spring-oauth-client项目.

Test [authorization_code]

输入每一步必要的信息后点击其下面的链接地址.

  1. 从 oauth-shiro 获取 'code'
    redirect_uri:
    /oauth/authorize?client_id={{clientId}}&redirect_uri={{redirectUri}}&response_type=code&scope={{scope}}&state=123456 GET

  2. 用 'code' 换取 'access_token'
    输入第一步获取的code:
    POST
Test [password]

输入username, password 后点击链接地址.

username:
password:
POST
Test [client_credentials]

点击链接地址即可测试

POST
Test [refresh_token]

输入refresh_token 后点击链接地址.

refresh_token:
POST