Skip to content

Conversation

@justin-fiedler
Copy link
Collaborator

@justin-fiedler justin-fiedler commented Jul 14, 2024

Summary

  • RLS has been added in supabase to the thoughts table to restrict access to authenticated users only
  • Removes need for supabase service role key
  • Adds react-router-dom with auth pre-checks per route and redirects to login if needed
  • Adds login screen /login
  • Adds password reset screen /reset-password to allow users to set a password (vs only magic link)
  • Adds Signout button in App
  • Extracts some components out of App.tsx
  • README updates
  • Removes existing npm vulnerabilities

TODO

  • Prevent new user creation or add captchas
  • Allow email/password login in addition to magic link password reset

Screenshots

Login screen

image

Password reset screen

image

Sign out button

image

@justin-fiedler justin-fiedler requested a review from andyk July 14, 2024 05:34
@justin-fiedler justin-fiedler self-assigned this Jul 14, 2024
@vercel
Copy link

vercel bot commented Jul 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
headlong ❌ Failed (Inspect) Jul 17, 2024 5:46am

…cks with redirects, remove npm vulnerabilities
@andyk
Copy link
Owner

andyk commented Jul 25, 2024

@justin-fiedler - this is looking great. love the screenshots? is this ready to merge? :-D

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.

3 participants