JoosepAlviste/serieslist

Authentication

Closed this issue · 0 comments

  • Sign up
  • Log in
  • Be authenticated for GraphQL requests
  • SSR should keep working
  • Can try to copy the users table structure from the old db
  • Logging out
  • Set up Pothos auth plugin
  • Can we use Auth.js?
    • Decided against this as it only exposes a REST API and seems quite complicated to set up.
    • It looks like it's also not very focused on APIs as a separate project (like we have here), but works better if the API and FE are in the same project (like Next.js if you use the API routes) and those are the only type of examples I could find. Not much for APIs.
    • Maybe we can try it on another project?

Some links that might be useful: