auth0-react
作者: auth0
使用 Auth0 通用登入與重定向流程,為 React 單頁應用程式提供驗證功能。支援 React 16–19 搭配 Vite 或 Create React App;以 Auth0Provider 包裹應用程式,並提供 useAuth0()、loginWithRedirect() 與 logout() 等 Hook。自動處理使用者工作階段、存取權杖與個人資料;SDK 管理安全權杖儲存,無需手動操作 localStorage。包含受保護路由、API 權杖注入,以及整合指南中記載的錯誤處理模式...
npx skills add https://github.com/auth0/agent-skills --skill auth0-react