Netlify Identity
技能 已验证 活跃用于身份验证、用户注册、登录、密码恢复、OAuth 提供商、基于角色的访问控制或保护路由和函数。始终使用 `@netlify/identity`。切勿使用 `netlify-identity-widget` 或 `gotrue-js` — 它们已弃用。
为开发人员提供一个可靠且文档齐全的参考,用于实现 Netlify 的用户身份验证功能。
功能
- 用户身份验证 API(登录、注册、注销)
- OAuth 提供商集成
- 密码恢复和电子邮件更改流程
- 基于角色的访问控制和授权
- 处理身份验证回调和状态更改
使用场景
- 为 Web 应用程序实现用户注册和登录
- 根据用户角色保护路由和函数
- 集成第三方 OAuth 提供商进行身份验证
- 处理密码重置流程和电子邮件验证
非目标
- 提供身份验证表单的用户界面组件
- 管理身份验证元数据以外的用户数据
- 处理部署或托管配置
安装
请先添加 Marketplace
/plugin marketplace add netlify/context-and-tools/plugin install context-and-tools@netlify-context-and-tools质量评分
已验证类似扩展
Auth0 SPA JS Integration
100Use when adding authentication to Vanilla JS, Svelte, or any framework-agnostic single-page applications - integrates @auth0/auth0-spa-js SDK for SPAs without framework-specific wrappers
Deepinit
100Deep codebase initialization with hierarchical AGENTS.md documentation
Cleanup Cycles
100Detect and untangle circular dependencies. Runs madge/skott (TS), pycycle (Py), or compiler-only checks (Go/Rust). Auto-fixes leaf-extractable cycles; reports core cycles for human review. Use when the user asks to find circular imports, fix dependency cycles, or untangle module graph. Example queries — "find circular imports", "fix dependency cycles", "untangle our module graph", "why is madge complaining".
Vue Router Best Practices
100Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.
Sentry React Router Framework Sdk
100Full Sentry SDK setup for React Router Framework mode. Use when asked to "add Sentry to React Router Framework", "install @sentry/react-router", or configure error monitoring, tracing, profiling, session replay, logs, or user feedback for a React Router v7 framework app.
Azure Identity Py
99Azure Identity SDK for Python authentication with Microsoft Entra ID. Use for DefaultAzureCredential, managed identity, service principals, and token caching. Triggers: "azure-identity", "DefaultAzureCredential", "authentication", "managed identity", "service principal", "credential".