# @auth/core

> Authentication for the Web.

Latest version **0.41.3** (published 2026-07-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install @auth/core
pnpm add @auth/core
yarn add @auth/core
bun add @auth/core
```

## Health

**Score 80/100 (A)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score; high quality score; popular repo.

Warnings: low downloads; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.41.3 |
| Published | 2026-07-20 |
| First published | 2022-12-13 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | bundled |
| Module format | ESM |
| Dependencies | 5 |
| Unpacked size | 1.8 MB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 28369 |
| Author | Balázs Orbán |
| Maintainers | better-gustavo, bekacru |
| Keywords | authentication, authjs, jwt, oauth, oidc, passwordless, standard, vanilla, webapi |

## Links

- npm: https://www.npmjs.com/package/@auth/core
- Repository: https://github.com/nextauthjs/next-auth
- Homepage: https://authjs.dev
- Issues: https://github.com/nextauthjs/next-auth/issues
- npm.io page: https://npm.io/package/@auth/core

## Dependencies (5)

- [jose](https://npm.io/package/jose.md) ^6.0.6
- [preact](https://npm.io/package/preact.md) 10.24.3
- [@panva/hkdf](https://npm.io/package/@panva/hkdf.md) ^1.2.1
- [oauth4webapi](https://npm.io/package/oauth4webapi.md) ^3.3.0
- [preact-render-to-string](https://npm.io/package/preact-render-to-string.md) 6.5.11

## Alternatives

- [@clerk/clerk-expo](https://npm.io/package/@clerk/clerk-expo.md) — 133.6K weekly downloads
- [@pothos/plugin-authz](https://npm.io/package/@pothos/plugin-authz.md) — 12.4K weekly downloads
- [@bounded-sh/client](https://npm.io/package/@bounded-sh/client.md) — 3.2K weekly downloads
- [@luigi-project/plugin-auth-oauth2](https://npm.io/package/@luigi-project/plugin-auth-oauth2.md) — 2.3K weekly downloads
- [@nocobase/plugin-verification](https://npm.io/package/@nocobase/plugin-verification.md) — 2.0K weekly downloads

## Recent versions

- 0.41.3 (latest) — 2026-07-20
- 0.0.0-manual.fdbc96ab (experimental) — 2025-02-27
- 0.41.2 — 2026-04-14
- 0.34.3 — 2025-10-29
- 0.41.1 — 2025-10-26
- 0.41.0 — 2025-10-08
- 0.40.0 — 2025-06-22
- 0.39.1 — 2025-05-10
- 0.39.0 — 2025-04-20
- 0.38.0 — 2025-02-27
- 0.37.4 — 2024-11-16
- 0.37.3 — 2024-11-04
- 0.37.2 — 2024-10-19
- 0.37.1 — 2024-10-18
- 0.37.0 — 2024-10-08
- … 97 more at https://npm.io/package/@auth/core/versions

## README

<p align="center">
   <br/>
   <a href="https://authjs.dev" target="_blank"><img width="150px" src="https://authjs.dev/img/logo-sm.png" /></a>
   <h3 align="center">Auth.js core library</a></h3>
   <h4 align="center">Authentication for the Web.</h4>
   <p align="center" style="align: center;">
      <a href="https://npm.im/next-auth">
        <img src="https://img.shields.io/badge/TypeScript-blue?style=flat-square" alt="TypeScript" />
      </a>
      <a href="https://npm.im/@auth/core">
        <img alt="npm" src="https://img.shields.io/npm/v/@auth/core?color=green&label=@auth/core&style=flat-square">
      </a>
      <a href="https://www.npmtrends.com/@auth/core">
        <img src="https://img.shields.io/npm/dm/@auth/core?label=%20downloads&style=flat-square" alt="Downloads" />
      </a>
      <a href="https://github.com/nextauthjs/next-auth/stargazers">
        <img src="https://img.shields.io/github/stars/nextauthjs/next-auth?style=flat-square" alt="GitHub Stars" />
      </a>
   </p>
</p>

---

Check out the documentation at [authjs.dev](https://authjs.dev/reference/core).

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