GET /oauth/connections/{user_id}
Returns all third-party OAuth connections for a specified user. Requires JWT authentication; user_id in path must match JWT subject.
OAuth `bearerAuth` application/json
Request Parameters
| Name | In | Type | Required | Default | Example | Constraints | Description |
user_id |
path |
string |
Yes |
|
|
|
User ID |
Referenced Schemas
dto.DataResponse-dto_OAuthConnectionListData
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.OAuthConnectionListData |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
dto.OAuthConnectionItem
| Field | Type | Required | Example | Constraints | Description |
created_at |
string |
No |
2026-04-15T10:30:00Z |
|
|
id |
string |
No |
conn_abc123 |
|
|
profile_data |
object |
No |
|
|
|
provider_id |
string |
No |
github |
|
|
provider_user_id |
string |
No |
12345678 |
|
|
tenant_id |
string |
No |
tenant_abc123 |
|
|
token_expiry |
string |
No |
2026-04-15T10:30:00Z |
|
|
updated_at |
string |
No |
2026-04-15T10:30:00Z |
|
|
user_id |
string |
No |
usr_abc123 |
|
|
dto.OAuthConnectionListData
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|