Log in via an LDAP provider bind
POST/api/v1/auth/providers/:provider/login
Log in via an LDAP provider bind
Request
Responses
- 200
- 401
- 403
- 404
- 503
Authenticated (or MFA step-up required)
Response Headers
Set-Cookie
Either full auth cookies (safebucket_access_token + safebucket_refresh_token) if no MFA step-up is needed, or a single restricted safebucket_mfa_token cookie if mfa_required: true is returned in the body.
Invalid LDAP credentials (INVALID_CREDENTIALS)
Email domain not allowed for this provider (FORBIDDEN)
Provider not configured or not of type ldap (PROVIDER_NOT_FOUND)
LDAP directory unreachable (AUTH_PROVIDER_UNAVAILABLE)