跳转到主要内容

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

质量评分

已验证
100 /100
1 day ago 分析

信任信号

最近提交6 days ago
星标17
许可证MIT
状态
查看源代码

类似扩展

Auth0 SPA JS Integration

100

Use 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

技能
auth0

Deepinit

100

Deep codebase initialization with hierarchical AGENTS.md documentation

技能
Yeachan-Heo

Cleanup Cycles

100

Detect 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".

技能
raintree-technology

Vue Router Best Practices

100

Vue Router 4 patterns, navigation guards, route params, and route-component lifecycle interactions.

技能
hyf0

Sentry React Router Framework Sdk

100

Full 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.

技能
getsentry

Azure Identity Py

99

Azure 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".

技能
microsoft