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

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

  •  
  •   fx · 24 天前 · 1312 次点击

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

    4 条回复    2025-09-07 15:55:21 +08:00
    tmkook
        1
    tmkook  
    PRO
       24 天前 via iPhone
    fx
        2
    fx  
    OP
       23 天前
    @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
       23 天前
    himself65
        4
    himself65  
       11 天前   ❤️ 1
    better-auth 是目前 nodejs 里好用的鉴权库

    https://www.better-auth.com/
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   4589 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 03:54 · PVG 11:54 · LAX 20:54 · JFK 23:54
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.