Is your feature request related to a problem?
Users can only log in via Google OAuth or by using an X-API key, limiting access for those without Google accounts or who prefer email-based authentication.
Describe the solution you'd like
Introduce a magic link login flow for email-based sign-in:
- Login Modal: Add an email input and a "Continue" button below the Google login option. On submission, call
POST /api/v1/auth/magic-link with { "email": "user@example.com" }. Show a "Check your email" confirmation on success or an inline error for issues like "No account found for this email."
- Verify Page (
/verify?token=xxx): Clicking the login link in the email leads to this page. Call GET /api/v1/auth/magic-link/verify?token=xxx to validate the token, set cookies, and log the user in. Redirect to the dashboard on success or display an error with a retry option on failure.
Original issue
Describe the current behavior
Users can only log in via Google OAuth or by manually adding an X-API key through the Keystore page. There is no way to log in with just an email address, which limits access for users who don't have Google accounts or prefer email-based authentication.
Describe the enhancement you'd like
Add a magic link login flow that allows users to sign in by entering their email address:
-
Login Modal: Add an email input field with a "Continue" button below the Google login (separated by an "OR" divider). On submit, call POST /api/v1/auth/magic-link with { "email": "user@example.com" }. On success, show a "Check your email" confirmation. On error (e.g. "No account found for this email"), show the error inline under the email field.
-
Verify Page (/verify?token=xxx): When the user clicks the login link in their email, they land on this page. It calls GET /api/v1/auth/magic-link/verify?token=xxx to validate the token, set cookies, and log the user in. On success, redirect to the dashboard. On failure, show the error with a retry option.
Is your feature request related to a problem?
Users can only log in via Google OAuth or by using an X-API key, limiting access for those without Google accounts or who prefer email-based authentication.
Describe the solution you'd like
Introduce a magic link login flow for email-based sign-in:
POST /api/v1/auth/magic-linkwith{ "email": "user@example.com" }. Show a "Check your email" confirmation on success or an inline error for issues like "No account found for this email."/verify?token=xxx): Clicking the login link in the email leads to this page. CallGET /api/v1/auth/magic-link/verify?token=xxxto validate the token, set cookies, and log the user in. Redirect to the dashboard on success or display an error with a retry option on failure.Original issue
Describe the current behavior
Users can only log in via Google OAuth or by manually adding an X-API key through the Keystore page. There is no way to log in with just an email address, which limits access for users who don't have Google accounts or prefer email-based authentication.
Describe the enhancement you'd like
Add a magic link login flow that allows users to sign in by entering their email address:
Login Modal: Add an email input field with a "Continue" button below the Google login (separated by an "OR" divider). On submit, call POST
/api/v1/auth/magic-linkwith{ "email": "user@example.com" }. On success, show a "Check your email" confirmation. On error (e.g. "No account found for this email"), show the error inline under the email field.Verify Page (
/verify?token=xxx): When the user clicks the login link in their email, they land on this page. It calls GET/api/v1/auth/magic-link/verify?token=xxxto validate the token, set cookies, and log the user in. On success, redirect to the dashboard. On failure, show the error with a retry option.