POST /auth/ldap/login
Authenticate user against configured LDAP/AD directory
auth None application/json
Request Body
Schema: dto.LdapLoginRequest
| Field | Type | Required | Example | Constraints | Description |
password |
string |
Yes |
|
|
|
username |
string |
Yes |
|
|
|
tenant_id |
string |
No |
|
|
Explicitly specify tenant (optional, fallback to X-Tenant-ID header) |
Referenced Schemas
dto.LdapLoginResponse
| Field | Type | Required | Example | Constraints | Description |
access_token |
string |
No |
|
|
|
is_new_user |
boolean |
No |
|
|
|
refresh_token |
string |
No |
|
|
|
user_id |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.DataResponse-dto_LdapLoginResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
data |
dto.LdapLoginResponse |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|
gitee_com_linmes_authms_base_dto.SimpleResponse
| Field | Type | Required | Example | Constraints | Description |
code |
integer |
No |
|
|
|
message |
string |
No |
|
|
|
timestamp |
string |
No |
|
|
|