Skip to content

Use Supabase passwords for editor login - #3

Merged
Muawiya-contact merged 3 commits into
mainfrom
feat/password-login
Nov 18, 2026
Merged

Muawiya-contact merged 3 commits into
mainfrom
feat/password-login

Conversation

@Muawiya-contact

@Muawiya-contact Muawiya-contact commented Nov 18, 2026 •

Copy link
Copy Markdown
Member

What changed

  • Replace email magic-link login with Supabase email-and-password sign-in.
  • Keep the editors table as the allowlist and sign out authenticated users who are not listed or whose authenticated email does not match.
  • Render the authenticated editor desk on demand so Vercel does not prerender it without Preview environment values.
  • Update setup instructions and editor-management copy to explain that each approved email also needs a Supabase Auth user.

Supabase setup after merge

  • Enable Supabase email/password sign-in and disable new user sign-ups.
  • For each editor, keep the matching email in public.editors and create a confirmed Supabase Auth user with a password.
  • With SMTP disabled, an admin must set a new password if an editor forgets theirs.

Validation

  • git diff --check passed.
  • npm run build passed with the Supabase environment variables unset, matching the Vercel Preview environment.
  • GitHub Actions passed lint, typecheck, and build; the architecture check passed.
  • Browser QA confirmed the login page renders on localhost and the Vercel Preview with email/password fields.

@vercel

vercel Bot commented Nov 18, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
machine-intelligence-app Ready Ready Preview Nov 18, 2026 3:35pm UTC

@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-18T12:50:04.255692Z
We couldn’t complete this review. Comment @codex review to try again.
ba33dba PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@Muawiya-contact Muawiya-contact left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@Muawiya-contact
Muawiya-contact merged commit c7f8636 into main Nov 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant