remix-run / indie-stack

The Remix Stack for deploying to Fly with SQLite, authentication, testing, linting, formatting, etc.
https://remix.run/stacks
MIT License
1.13k stars 316 forks source link

Using `remix-auth` in indie-stack #285

Open MichaelDeBoey opened 6 months ago

MichaelDeBoey commented 6 months ago

Discussed in https://github.com/remix-run/remix/discussions/9380

Originally posted by **@nicolas-besnard** May 6, 2024 Hi! What do you think about using `remix-auth` instead of the custom authentication system the indie-stack is using? I think it would be a better default because we could support TOTP and social login (Github, Google) easily
machour commented 6 months ago

While I love and use remix-auth, I think it's a good thing to have a custom authentication here, so that developers can follow through and understand how a basic cookie-based authentication system works.

Everyone is encouraged to fork stacks and customize them to their liking anyways :)