Auth API
Login
Login endpoint for external addons
Authenticates a user with username/email and password, returning:
- JWT token for future authentication
- User's active API key
- User information and tier
Args: login_data: Username (or email) and password
Returns: JWT token, API key, and user information
post/api/auth/login
Request body
Response
Successful Response
{"stackTrail":"paths:/api/auth/login:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}
Changes
No recorded changes to this endpoint across all 1 revision of this API.