# @adonisjs/auth

> Official authentication provider for Adonis framework

Latest version **10.1.0** (published 2026-04-09) · MIT license · 0 weekly downloads

## Install

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

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; high maintenance score; high quality score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 10.1.0 |
| Published | 2026-04-09 |
| First published | 2017-08-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=24.0.0 |
| Dependencies | 2 |
| Unpacked size | 225.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 222 |
| Author | Harminder Virk |
| Maintainers | romainlanz, virk, julien-r44 |
| Keywords | adonisjs, authentication, auth |

## Links

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

## Dependencies (2)

- [basic-auth](https://npm.io/package/basic-auth.md) ^2.0.1
- [@adonisjs/presets](https://npm.io/package/@adonisjs/presets.md) ^3.0.0

## 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

- 10.1.0 (latest) — 2026-04-09
- 10.0.0-next.6 (next) — 2026-01-27
- 3.2.0 (legacy) — 2021-03-27
- 5.1.1 (alpha) — 2020-12-02
- 10.0.0 — 2026-02-25
- 9.6.0 — 2026-01-27
- 10.0.0-next.5 — 2026-01-22
- 10.0.0-next.4 — 2026-01-21
- 10.0.0-next.3 — 2025-12-19
- 10.0.0-next.2 — 2025-10-27
- 10.0.0-next.1 — 2025-10-20
- 9.5.1 — 2025-10-20
- 10.0.0-next.0 — 2025-09-22
- 9.5.0 — 2025-09-22
- 9.4.2 — 2025-07-15
- … 90 more at https://npm.io/package/@adonisjs/auth/versions

## README

# @adonisjs/auth

<br />

[![gh-workflow-image]][gh-workflow-url] [![npm-image]][npm-url] ![][typescript-image] [![license-image]][license-url]

## Introduction

## Official Documentation
The documentation is available on the [AdonisJS website](https://docs.adonisjs.com/guides/authentication/introduction)

## Contributing
One of the primary goals of AdonisJS is to have a vibrant community of users and contributors who believes in the principles of the framework.

We encourage you to read the [contribution guide](https://github.com/adonisjs/.github/blob/main/docs/CONTRIBUTING.md) before contributing to the framework.

## Code of Conduct
In order to ensure that the AdonisJS community is welcoming to all, please review and abide by the [Code of Conduct](https://github.com/adonisjs/.github/blob/main/docs/CODE_OF_CONDUCT.md).

## License
AdonisJS auth is open-sourced software licensed under the [MIT license](LICENSE.md).

[gh-workflow-image]: https://img.shields.io/github/actions/workflow/status/adonisjs/auth/checks.yml?style=for-the-badge
[gh-workflow-url]: https://github.com/adonisjs/auth/actions/workflows/checks.yml "Github action"

[npm-image]: https://img.shields.io/npm/v/@adonisjs/auth/latest.svg?style=for-the-badge&logo=npm
[npm-url]: https://www.npmjs.com/package/@adonisjs/auth/v/latest "npm"

[typescript-image]: https://img.shields.io/badge/Typescript-294E80.svg?style=for-the-badge&logo=typescript

[license-url]: LICENSE.md
[license-image]: https://img.shields.io/github/license/adonisjs/auth?style=for-the-badge

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