-
Now that the built in session management has landed in canary, we need to decide on the best way to provide the higher level authentication code like hashing passwords. The auth preview docs currently shows all the code you need to add to have user signup, login, and logout. Missing pieces right now are password reset and email confirmation. I am following the same approach as José Valim is for Elixir. (he's the creator of Devise for Rails and the creator of Elixir) That means that we need to generate the basic auth code into apps. My proposal is to go ahead and include all the basic auth code in new apps, like a Later once we have installer recipes fully implemented, we can move the auth code into a recipe. Then during What do y'all think? |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments 4 replies
-
Yes, I think that would mean a lot of time being saved😬 |
Beta Was this translation helpful? Give feedback.
-
Yep I agree with all that completely! |
Beta Was this translation helpful? Give feedback.
-
For me sure. In my cases I will always need user management. |
Beta Was this translation helpful? Give feedback.
-
Great idea!!! |
Beta Was this translation helpful? Give feedback.
-
A natural evolution of recipes is to be able to uninstall them, so I bet we can add an easy way to remove the auth setup if you don't want it. |
Beta Was this translation helpful? Give feedback.
-
Ok, the crowd has spoken! We'll add auth to the new app template 😎 |
Beta Was this translation helpful? Give feedback.
-
@flybayer it would be good to have Email (passwordless) and one Social (Google with OneTap) working out of the box. Both backed by our datastore. Email with password credentials is not a best practice no more and perhaps not a good representation for new users adopting our shiny new framework. NextAuth.js has a good simple implementation of Email passwordless, for example. One-Tap adoption is picking up for its ease and Google auth is virtually everywhere. |
Beta Was this translation helpful? Give feedback.
Ok, the crowd has spoken! We'll add auth to the new app template 😎