提交 | 用户 | 时间
|
e7c126
|
1 |
### 请求 /login 接口 => 成功 |
H |
2 |
POST {{baseUrl}}/system/oauth2-client/create |
|
3 |
Content-Type: application/json |
|
4 |
Authorization: Bearer {{token}} |
|
5 |
tenant-id: {{adminTenentId}} |
|
6 |
|
|
7 |
{ |
|
8 |
"id": "1", |
|
9 |
"secret": "admin123", |
|
10 |
"name": "iailab", |
|
11 |
"logo": "https://www.baidu.com/images/favicon.ico", |
|
12 |
"description": "我是描述", |
|
13 |
"status": 0, |
|
14 |
"accessTokenValiditySeconds": 180, |
|
15 |
"refreshTokenValiditySeconds": 8640, |
|
16 |
"redirectUris": ["https://www.baidu.com"], |
|
17 |
"autoApprove": true, |
|
18 |
"authorizedGrantTypes": ["password"], |
|
19 |
"scopes": ["user_info"], |
|
20 |
"authorities": ["system:user:query"], |
|
21 |
"resource_ids": ["1024"], |
|
22 |
"additionalInformation": "{}" |
|
23 |
} |