# @adonisjs/ally

> Social authentication provider for AdonisJS

Latest version **6.3.0** (published 2026-04-13) · MIT license · 0 weekly downloads

## Install

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

## 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 | 6.3.0 |
| Published | 2026-04-13 |
| First published | 2017-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=20.6.0 |
| Dependencies | 1 |
| Unpacked size | 188.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 179 |
| Author | Harminder Virk |
| Maintainers | romainlanz, virk, julien-r44 |
| Keywords | adonis, adonisjs, social-auth, oauth |

## Links

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

## Dependencies (1)

- [@poppinss/oauth-client](https://npm.io/package/@poppinss/oauth-client.md) ^7.2.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

- 6.3.0 (latest) — 2026-04-13
- 6.0.0-next.0 (next) — 2025-11-03
- 2.2.0 (legacy) — 2021-03-27
- 6.2.0 — 2026-04-09
- 6.1.0 — 2026-04-06
- 6.0.0 — 2026-02-25
- 5.1.1 — 2025-08-22
- 5.1.0 — 2025-03-02
- 5.0.2 — 2024-01-23
- 5.0.1 — 2024-01-20
- 5.0.0 — 2024-01-09
- 5.0.0-8 — 2023-12-24
- 5.0.0-7 — 2023-11-27
- 5.0.0-6 — 2023-10-19
- 5.0.0-5 — 2023-09-27
- … 31 more at https://npm.io/package/@adonisjs/ally/versions

## README

# @adonisjs/ally

<br />

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

## Introduction
Social authentication provider for AdonisJS. Supports **Github**, **Google**, **Twitter**, **X (Twitter OAuth2)**, **Facebook**, **Discord**, **Spotify**, and **LinkedIn**.

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

## 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 ally is open-sourced software licensed under the [MIT license](LICENSE.md).

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

[npm-image]: https://img.shields.io/npm/v/@adonisjs/ally/latest.svg?style=for-the-badge&logo=npm
[npm-url]: https://www.npmjs.com/package/@adonisjs/ally/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/ally?style=for-the-badge

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