Skip to content

Dirold2/next-auth

 
 

Repository files navigation

Auth.js Logo

Auth.js Ouata

Authentication for the Web.

Open Source. Full Stack. Own Your Data.


Introduction

Auth.js is a set of open-source packages built on standard Web APIs for authentication in modern applications with any framework, on any platform, and in any JS runtime. It offers flexibility, security, and control over user authentication.

Learn more at authjs.dev.

Features

Flexible and Easy to Use

  • Works seamlessly with any OAuth service, supporting 2.0+, OIDC
  • Built-in support for many popular sign-in services
  • Email/Passwordless authentication
  • Compatible with any backend (Active Directory, LDAP, etc.)
  • Runtime-agnostic, runs anywhere! (Vercel Edge Functions, Node.js, Serverless, etc.)

Own Your Data

  • An open-source solution that keeps you in control of your data
  • Built-in support for various databases like MySQL, Postgres, MongoDB, etc.
  • Works seamlessly with databases from popular hosting providers

Secure by Default

  • Promotes the use of passwordless sign-in mechanisms
  • Designed to be secure by default, encouraging best practices
  • Utilizes CSRF Tokens on POST routes for sign in/sign out
  • Default cookie policy enforces the most restrictive settings for each cookie
  • Default encryption for JSON Web Tokens (JWE) using A256CBC-HS512
  • Implements the latest security guidance from OWASP

TypeScript Support

Auth.js libraries prioritize type safety.

For more information, visit the TypeScript Documentation.

Security

If you discover a vulnerability in Auth.js, please read our Security Policy to report it responsibly.

Contributing

We welcome all contributions! Please read our Contributing Guide to get started.

License

Auth.js is licensed under the ISC License.

About

Authentication for the Web.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 93.1%
  • JavaScript 2.5%
  • CSS 1.7%
  • Shell 1.0%
  • Svelte 0.8%
  • PLpgSQL 0.3%
  • Other 0.6%