v3.5+ 密码模式获取token
POST
http://127.0.0.1:9999/auth/oauth2/token
请求参数
Query 参数
grant_type
string
必需
示例值:
password
scope
string
必需
示例值:
server
randomStr
string
可选
示例值:
1234567
code
string
可选
示例值:
1
Body 参数application/x-www-form-urlencoded
username
string
必需
示例值:
admin
password
string
必需
示例值:
YehdBPev
示例代码
返回响应
修改于 2022-10-26 09:26:08