internal
Login
Login and get access token.
If 2FA is enabled, returns requires_2fa=true and a temp_token. Use /login/2fa or /login/recovery to complete authentication.
Sets an httpOnly cookie with the JWT token for browser-based authentication. The token is also returned in the response body for API clients.
post/auth/login
Request
- Base URL: https://api.companydata.dk (the document declares no server; this is the origin it was published from)
- URL: https://api.companydata.dk/auth/login
- Auth: none declared
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.