根据PKCE测试接口返回的code进行token获取
开发中
POST
http://127.0.0.1:9000/oauth2/token
最后修改时间:2024-01-25 02:39:36
权限参数 Auth
1.
2.
3.
注意
短信验证码参数名:OAuth2Constant.SMS_CODE
短信验证码用的暂时是username 做手机号查询,这是是demo
请求参数
Body 参数application/x-www-form-urlencoded
client_id
string
客户端ID
示例值:
pkce-client
grant_type
string
授权模式
示例值:
authorization_code
code
string
可选
示例值:
HeFShyfoe5YTUtwUrD2uhD-thc0GnxSissccAIy3txNmop8PWI44S96hOhDM60Zsilhigj6_LeHehe2sOsgNir8S3qJRrbps0v2qAMCAev0wAClUrpYoWG-1B_Utg_Hf
redirect_uri
string
回调地址
示例值:
http://www.baidu.com