V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
fx
3.81D
V2EX  ›  Node.js

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

  •  
  •   fx · 2025 年 8 月 26 日 · 2594 次点击
    这是一个创建于 144 天前的主题,其中的信息可能已经有所发展或是发生改变。

    以前用 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/
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2623 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 01:16 · PVG 09:16 · LAX 17:16 · JFK 20:16
    ♥ Do have faith in what you're doing.