# @supabase/auth-helpers-nextjs

> Use the Supabase JavaScript library in popular server-side rendering (SSR) frameworks.

Latest version **0.15.0** (published 2025-11-27) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @supabase/auth-helpers-nextjs
pnpm add @supabase/auth-helpers-nextjs
yarn add @supabase/auth-helpers-nextjs
bun add @supabase/auth-helpers-nextjs
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.15.0 |
| Published | 2025-11-27 |
| First published | 2022-05-30 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 237.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 208 |
| Author | Supabase, Inc. |
| Maintainers | etienne_supa, kiwicopple, ange1ico, awalias, gregnr, phamhieu1998, inian, stdim, ziinc_supabase, ceeteelam, kevin-supabase, mattrossman |
| Keywords | Supabase, SSR, Server-Side, Rendering, Next, Next.js, NextJS, Remix, Svelte, SvelteKit, Postgres |

## Links

- npm: https://www.npmjs.com/package/@supabase/auth-helpers-nextjs
- Repository: https://github.com/supabase/ssr
- Homepage: https://github.com/supabase/ssr#readme
- Issues: https://github.com/supabase/ssr/issues
- npm.io page: https://npm.io/package/@supabase/auth-helpers-nextjs

## Dependencies (1)

- [cookie](https://npm.io/package/cookie.md) ^1.0.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.15.0 (latest) — 2025-11-27
- 0.8.0-rc.9 (rc) — 2025-11-26
- 0.7.0-next.8 (next) — 2023-05-23
- 0.14.0 — 2025-11-27
- 0.8.0-rc.8 — 2025-11-26
- 0.8.0-rc.5 — 2025-11-26
- 0.10.0 — 2024-04-09
- 0.9.0 — 2024-01-31
- 0.8.7 — 2023-11-04
- 0.8.6 — 2023-11-04
- 0.8.5 — 2023-11-03
- 0.8.4 — 2023-10-31
- 0.8.3 — 2023-10-28
- 0.8.2 — 2023-10-26
- 0.8.1 — 2023-09-17
- … 50 more at https://npm.io/package/@supabase/auth-helpers-nextjs/versions

## README

# ⚠️ DEPRECATED - DO NOT USE

**This package is deprecated and no longer maintained.**

This is the **FINAL version (0.15.0)**. No further updates will be published.

## Please migrate to `@supabase/ssr`

```bash
npm uninstall @supabase/auth-helpers-nextjs
npm install @supabase/ssr
```

📚 **Migration guide:** https://supabase.com/docs/guides/auth/server-side/overview

---

# Supabase clients for use in SSR frameworks

> **Package Consolidation Notice**: The `@supabase/ssr` package replaces the deprecated `@supabase/auth-helpers-*` packages. All framework-specific auth-helpers packages have been consolidated into `@supabase/ssr` for better maintenance and consistency.

## Overview

The `@supabase/ssr` package provides a framework-agnostic way to use the [Supabase JavaScript library](https://supabase.com/docs/reference/javascript/introduction) in server-side rendering (SSR) frameworks.

## Installation

```bash
npm i @supabase/ssr
```

## Deprecated Packages

The following packages have been deprecated and consolidated into `@supabase/ssr`:

- `@supabase/auth-helpers-nextjs` → Use `@supabase/ssr`
- `@supabase/auth-helpers-react` → Use `@supabase/ssr`
- `@supabase/auth-helpers-remix` → Use `@supabase/ssr`
- `@supabase/auth-helpers-sveltekit` → Use `@supabase/ssr`

If you're currently using any of these packages, please update your dependencies to use `@supabase/ssr` directly.

## Documentation

Please refer to the [official server-side rendering guides](https://supabase.com/docs/guides/auth/server-side) for the latest best practices on using this package in your SSR framework of choice.

---
_Source: https://npm.io/package/@supabase/auth-helpers-nextjs · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
