TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to set up authentication using Next-Auth in just 1 hour 30 mins

5 pointsby jacksonzheng11 months ago

1 comment

jacksonzheng11 months ago
It took me over 2 months to make this video, and I tried super hard to condense it down to the essentials, building up from first principles.<p>It has everything you need:<p>Email magic link<p>Google OAuth<p>Role Based Access Control<p>Postgres DB (easy deployment with Docker)<p>Automatic database cleanup<p>Automatic account linking<p>Freedom for the user to change their username<p>Freedom for them to switch Google Accounts<p>Fully styled sign-in form<p>Reusable components ready to copy and paste<p>And much more.<p>Here&#x27;s the video: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;TLGFTH4s_0Y?si=f_9CI_yK7E4ejjaO" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;TLGFTH4s_0Y?si=f_9CI_yK7E4ejjaO</a><p>The code is linked in the description.<p>What do you think?