Next.js Authentication

preview_player
Показать описание


Presented By
Chris Sev, Senior Developer Advocate, DigitalOcean [Twitter: @chris__sev]

- - - - - - - - - -

Subscribe to the DigitalOcean YouTube channel:

Write for DOnations — Share your knowledge and get paid, while supporting tech-focused nonprofits and charities:

- - - - - - - - - -

About DigitalOcean
The DigitalOcean Developer Cloud™ simplifies modern app creation for new generations of developers working independently, at tech startups, and within small-to-medium sized businesses around the world.

#DOTechTalks #nextjs #authentication
Рекомендации по теме
Комментарии
Автор

Thanks so much for the video! It was very useful and informative. I'd like to offer a small suggestion:

When doing a livestream, especially one that will be posted for later viewing, do greetings of people signing in before starting the main presentation, then don't interrupt the tutorial with greetings everytime someone joins. Maybe catch up on greetings at break points if it's important to do so. If possible, suppress the sign-in popup as well. It's a bit distracting and mostly irrelevant for those who watch the recorded version.

jackfrosch
Автор

Awesome talk Chris, I really needed this. Thanks a lot!

ahmadalfan
Автор

How would you add Next-Auth to a full-stack application with Next.js on the front end, and Express/Fastify/Apollo Server on the back end?

I haven't seen any options to make this work that doesn't revolve around the Next.js App being the front-end as well as the back-end (via [pages/api/] routes)

josephbutterfield
Автор

Is it really necessary to specify security for each individual page? What if I have 100 of them?

evgeniy
Автор

Please do a tutorial on how to authenticate using credentials email password. I already have a backend API that I can login and register users. I want to connect that API with next-auth. Thanks

yanmoenaing
Автор

Thanks a lot for this. I haven't really seen any clear documentation of how Next auth would work, simply with a REST API and a database (ie: MySQL). Next_auth has a certain way of authenticating - mostly through social platforms. The credentials provider is limited. It's not clear how it would do things like manage JWT. The time I'm spending figuring out config is almost the same as writing my own system. Any chance you could do a tutorial on how to write a custom authentication system for Next.js WITHOUT Next_auth?

jaltaie
Автор

Awesome tutorial. How can we use adapters such as firestore and mango Db with NextAuth

bhupendrasinhthakre
Автор

Your editor looks so cool! What VS pluggins do you use ?

Bjfhj
Автор

THis is a great tutorial, thanks a lot. Unfortunately for me it all works in local dev but in not in a digital ocean in prod, any chance to add that would be really appreciated, many tx

fesani
Автор

All examples I can find on in the docs seem to be about logging in to existing "social" providers. What if my company implement it's own OAuth authentication? Can I define my own provider?

voidmind
Автор

That means a user without a github account can't use your app right?

emanuelameh
Автор

Damn! I learned more from his mistakes.

bernarduslopez