docs: add comparison

This commit is contained in:
Bereket Engida
2024-11-17 12:09:53 +03:00
parent 88ea677478
commit 39839ee6b6
3 changed files with 58 additions and 7 deletions

View File

@@ -0,0 +1,33 @@
---
title: Comparison
description: Comparison of Better Auth with other auth libraries and services.
---
> Comparison is the thief of joy. Kanye West
### vs Other Auth Libraries
- We probably support the framework you are using.
- You need more featuers from your auth library.
- You need advanced features like two-factor authentication, multi-tenancy, multi-session, admin tools, rate limiting, etc.
- You want to have more control over your auth flow.
- You prefer more comprehensive documentation.
### vs Self Hosted Auth Server
- You want to keep your users on your own database (the same database as your app).
- You need more control over your auth flow.
- You don't want the hassle of self-hosting your auth server.
- And there is a high possibilty that we cover more features you need. And you can alway extends it using our plugin system.
### vs Managed Auth Services (paid)
- You dont want to give up user data to a third party.
- You want a single source of truth for your users.
- You prefer not to pay for authentication.
- You want to keep your users on your own database (the same database as your app).
### vs Roll Your Own Auth
- You dont want to maintain a lot of code that isnt your core business.
- You want to deligate the security to a community of people who probably care more than you do.
- We probably cover most of the features you need, and you can always extend it using our plugin system.