<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Html on Pratham Dupare</title><link>https://heypratham.in/tags/html/</link><description>Recent content in Html on Pratham Dupare</description><generator>Hugo</generator><language>en-US</language><lastBuildDate>Sun, 03 Mar 2024 00:00:00 +0000</lastBuildDate><atom:link href="https://heypratham.in/tags/html/index.xml" rel="self" type="application/rss+xml"/><item><title>NextJS and NextAuth guide</title><link>https://heypratham.in/write/nextauth/</link><pubDate>Sun, 03 Mar 2024 00:00:00 +0000</pubDate><guid>https://heypratham.in/write/nextauth/</guid><description>&lt;h1 id="introduction"&gt;Introduction&lt;/h1&gt;&#10;&lt;p&gt;NextAuth.js is a complete open-source authentication solution for Next.js applications, and it is currently my favorite solution for adding authentication. It doesn&amp;rsquo;t set up everything like Clerk in 7 minutes but also gives you control over everything and makes it really easy!&lt;/p&gt;&#10;&lt;p&gt;It&amp;rsquo;s specifically designed to work seamlessly with Next.js and Serverless architectures.&lt;/p&gt;&#10;&lt;h1 id="getting-started"&gt;Getting Started&lt;/h1&gt;&#10;&lt;h2 id="install-nextauth"&gt;Install NextAuth&lt;/h2&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="background-color:#f7f7f7;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;npm install next-auth&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h4 id="note--"&gt;Note -&lt;/h4&gt;&#10;&lt;p&gt;I will be using the latest version of Next.js 14.0 or above with the app router.&lt;/p&gt;</description></item></channel></rss>