Authenticate a user via passwordless login
POST/api/auth/passwordless
Supports passwordless authentication for agents and customers. For passwordless agents, validates the username against the account and creates the user if they do not yet exist. For passwordless customers, generates a token without account lookup. Returns a JWT app token and refresh token on success.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Returns the JWT app token and refresh token.
Authentication failed — credentials are invalid or the account is locked out.
Caller does not have the required role.
The specified user was not found.
An unexpected server error occurred.