Decision Workspace
nestrs-better-auth vs nestrs-oauth2 vs nestrs-saml
Side-by-side comparison of Rust crates
48
nestrs-better-auth
experimentalv1.6.0
Thin Better Auth adapter for nestrs — nest the better-auth.rs Axum router and guard session cookies.
53
nestrs-oauth2
experimentalv1.6.0
OAuth2 client (4 grant types incl. PKCE) + JWKS-backed resource server + social providers (Google/GitHub/Microsoft/Apple) + OAuth2Guard + full OAuth2 authorization server (issue Ed25519-signed JWTs) + bcrypt/argon2 password hashing (Wave 7.13) for nestrs.
49
nestrs-saml
experimentalv1.6.0
SAML 2.0 service-provider adapter for nestrs (NestJS passport-saml analogue).
Core Metrics
| nestrs-better-auth | nestrs-oauth2 | nestrs-saml | |
|---|---|---|---|
| Health Score | 48 | 53 | 49 |
| Total Downloads | 62 | 97 | 46 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 6 | 0 |
| Releases | 4 | 6 | 4 |
| Last Updated | 10d ago | 10d ago | 10d ago |
| Age | 22d | 27d | 22d |
Health Breakdown
nestrs-better-auth
Maintenance
13
Quality
15
Community
6
Popularity
2
Documentation
12
nestrs-oauth2
Maintenance
15
Quality
16
Community
8
Popularity
2
Documentation
12
nestrs-saml
Maintenance
13
Quality
16
Community
6
Popularity
2
Documentation
12
Technical Details
| nestrs-better-auth | nestrs-oauth2 | nestrs-saml | |
|---|---|---|---|
| Version | 1.6.0 | 1.6.0 | 1.6.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 31 | 2 |
| Crate Size | 7KB | 85KB | 7KB |
| Features | 0 | 11 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.88 | 1.88 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nestrs-oauth2 leads with a health score of 53/100, but none of the options score above 80.