# Authentication in Next.js

DevFeed: [Authentication in Next.js](<https://devfeed.tech/articles/authentication-in-next-js-18949.md>)

Original publisher: [Read original article](<https://www.robinwieruch.de/next-authentication/>)

Author: Robin Wieruch

Published: 2024-10-29T10:50:46Z

Content type: tutorial

Language: en

Sources: [Robin Wieruch](<https://devfeed.tech/sources/robin-wieruch.md>)

Topics: [Authentication](<https://devfeed.tech/topics/authentication.md>), [Next.js](<https://devfeed.tech/topics/next-js.md>), [Tutorial](<https://devfeed.tech/topics/tutorial.md>), [React](<https://devfeed.tech/topics/react.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [learn](<https://devfeed.tech/tags/learn.md>), [next](<https://devfeed.tech/tags/next.md>), [next-authentication](<https://devfeed.tech/tags/next-authentication.md>), [next-js](<https://devfeed.tech/tags/next-js.md>), [sign-in](<https://devfeed.tech/tags/sign-in.md>), [sign-up](<https://devfeed.tech/tags/sign-up.md>)

## AI overview

A tutorial on implementing authentication in Next.js 15 with the App Router, React Server Components, and Server Actions. It demonstrates sign-up, sign-in, sign-out, public routes, protected routes, and redirects without client-side JavaScript.

## Source excerpt

Learn how to roll your own authentication in Next.js ...