Authentication
Authenticate a user and obtain an authorization code
Changed onAnonymous endpoint used by the web UI and device-flow clients to exchange user credentials (plus optional MFA token and PKCE challenge) for an OAuth authorization client_code that can then be exchanged for an access token via POST /auth/token. Rate-limited as an anonymous request.
post/api/auth
Request
- Base URLhttps://mail.example.com
- Authnone required
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Result of the authentication attempt
Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking