Api Magic Login
One-time magic-login link (no password required). Used for account-recovery flows where we need to give a paying member access without making them deal with a password reset.
The token is a JWT signed by JWT_SECRET with type='magic_login'. On success we issue a fresh standard auth JWT (same kind /auth/login returns) and set the dba_token cookie, then redirect to /. On failure we redirect to /login?error=... rather than returning a JSON 401, because the user is coming from a click in chat / Telegram and a redirect feels cleaner.
get/auth/magic-login
Request
- Base URL: https://deepbluealpha.io (the document declares no server; this is the origin it was published from)
- URL: https://deepbluealpha.io/auth/magic-login
- Auth: none declared
Query parameters
tokenstring required
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.