Awesome Open Source
Awesome Open Source

accounts-js logo

npm npm downloads codecov License

Fullstack authentication and accounts-management for GraphQL and REST.

Note: Although accounts-js is production ready, the packages within this repo are under active development — expect breaking changes with minor version updates.

The @accounts suite of packages aims to provide all the tools you need to build a flexible authentication and accounts management solution for your application.

🔐 We got you covered! The packages come with strong opinionated security defaults while preserving options for configuration.

📚 Ready to get started? Take a look at our documentation to learn how to use the packages. For more advanced usage, head to our API documentation.

🙋‍♀️ A bit lost? Here are some examples where you can see working clients and severs with react, GraphQL or Rest.


  • Create and manage users
  • Create and manage sessions (JWT)
  • Pick your transport layer
    • GraphQL
    • Rest
  • Compatible with all the modern js frameworks (react, react-native, vue, angular...)
  • Use the database you want
    • Mongo
    • Typeorm
    • Redis (sessions only)
  • Add all the strategies you need
    • password
    • Oauth (WIP)

Contributing and community

Any contribution is very welcome, read our contributing guide to see how to locally setup the repository and see our development process.



Support this project by becoming a sponsor. Your logo will show up here with a link to your website.


Thank you to all our backers! 🙏


This project exists thanks to all the amazing people who contribute.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
typescript (11,291) 
graphql (1,062) 
rest (487) 
oauth (169) 
password (152) 
sessions (23)