---
id: NextAuth-js
title: Authentication with NextAuth.js
example-tags: [next.js, auth-provider]
---

Refine allows you to build your [**SSR**](https://nextjs.org/docs/basic-features/pages#server-side-rendering) supported web applications using Next.js. With this example, you can see how to make a simple Refine app in Next.js and [NextAuth.js](https://next-auth.js.org) with Authentication features.

<CodeSandboxExample path="with-nextjs-next-auth" />
