fx
3.81D
V2EX  ›  Node.js

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

  •  
  •   fx · Aug 26, 2025 · 3241 views
    This topic created in 271 days ago, the information mentioned may be changed or developed.

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

    4 replies    2025-09-07 15:55:21 +08:00
    tmkook
        1
    tmkook  
    PRO
       Aug 26, 2025 via iPhone
    fx
        2
    fx  
    OP
       Aug 26, 2025
    @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
       Aug 26, 2025
    himself65
        4
    himself65  
       Sep 7, 2025   ❤️ 1
    better-auth 是目前 nodejs 里好用的鉴权库

    https://www.better-auth.com/
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2926 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 53ms · UTC 08:26 · PVG 16:26 · LAX 01:26 · JFK 04:26
    ♥ Do have faith in what you're doing.