-
-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: add recipe for session and authentication #27287
base: main
Are you sure you want to change the base?
Conversation
Run & review this pull request in StackBlitz Codeflow. |
Changed to relative link Co-authored-by: Sébastien Chopin <[email protected]>
Co-authored-by: Sébastien Chopin <[email protected]>
Should we add a link to the downloadable and runnable demo implementation? https://github.com/gearbox-solutions/nuxt-auth-example |
I've made some improvements to the login and registration processes on both the client and server side to work in a more SPA way without a full reload. |
I did not forget it is still in my todo list! |
Well good news! I've just pushed some improvements, so you didn't miss anything. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Just a few things that caught my attention
Co-authored-by: Sébastien Chopin <[email protected]>
This PR adds a recipe example for managing user sessions using
nuxt-auth-utils
.Database queries are managed with Drizzle, which I'm trying for the first time here. I'm not entirely sold on this after using it, though, and could probably rewrite this with something like Sequelize or TypeORM if that would be preferred.
I've also posted a more robust example repo. Would it be good to link to this? This could be updated to use Sequelize/TypeORM as well.