| ... | ... | @@ -29,7 +29,6 @@ http://pass.sovell.com/oauth/v2/userinfo |
|
|
|
```
|
|
|
|
|
|
|
|
- 生产环境终端信息根据实际情况配置
|
|
|
|
|
|
|
|
```
|
|
|
|
domain=pass.sovell.com
|
|
|
|
```
|
| ... | ... | @@ -43,10 +42,10 @@ domain=pass.sovell.com |
|
|
|
|
|
|
|
```javascript
|
|
|
|
POST /oauth/v2/token HTTP/1.1
|
|
|
|
Host: pre.sovell.com
|
|
|
|
Host: ${domain}
|
|
|
|
Content-Type: application/x-www-form-urlencoded
|
|
|
|
|
|
|
|
grant_type=client_credentials&client_id=B-8onb81TPCog2YBhSsQaA&client_secret=q1LQuI8C4CI
|
|
|
|
grant_type=client_credentials&client_id=${client_id}&client_secret=${client_secret}
|
|
|
|
```
|
|
|
|
|
|
|
|
> - grant_type必须为client_credentials
|
| ... | ... | |