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