fx
3.81D
V2EX  ›  Node.js

adonisjs 有没有现成的注册登录库?

By fx at 2025 年 8 月 26 日 · 2961 次点击

以前用 rails 的时候,可以用 https://github.com/heartcombo/devise 这种库快速集成注册认证,不知道有没有什么库适用于 adonisjs

4 条回复    2025-09-07 15:55:21 +08:00
tmkook
   1
tmkook  
PRO
   2025 年 8 月 26 日 via iPhone
fx
   2
fx  
OP
   2025 年 8 月 26 日
@tmkook 看了下官方的库很多不支持


Features not supported by the Auth package
The auth package narrowly focuses on authenticating HTTP requests, and the following features are outside its scope.

User registration features like registration forms, email verification, and account activation.
Account management features like password recovery or email update.
Assigning roles or verifying permissions. Instead, use bouncer to implement authorization checks in your application
fx
   3
fx  
OP
   2025 年 8 月 26 日
himself65
   4
himself65  
   2025 年 9 月 7 日   ❤️ 1
better-auth 是目前 nodejs 里好用的鉴权库

https://www.better-auth.com/
© 2026 V2EX · 37ms · 3.9.8.5