convex-setup-auth
设置 Convex 身份验证
当提供商接线、环境变量和后端检查不匹配时,Convex 身份验证设置可能会失败。此技能会指导正确的提供商流程,并添加经过验证的 Convex 身份验证模式。
使用我的智能体安装
将此请求复制给你的智能体,其中包含权威 Skill 页面和清单。
Review the Skillstore skill "convex-setup-auth" from https://skillstore.io/skills/get-convex-convex-setup-auth.md and its manifest at https://skillstore.io/api/skills/get-convex-convex-setup-auth/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智能体仍应展示其计划,并按安全策略请求必要确认。
Agent 可读资源
当 AI Agent、爬虫或脚本需要干净上下文,而不是读取完整页面时,请使用这些链接。
测试它
正在使用“convex-setup-auth”。 使用 Convex Auth 为新的 Convex 应用设置身份验证。
预期结果:
已记录提供商决策,完成所需设置步骤,接入客户端提供商,添加受保护的后端检查,并列出本地登录验证。
正在使用“convex-setup-auth”。 将 Clerk 连接到现有 Convex 应用。
预期结果:
响应会识别现有 Clerk 文件,更新 Convex auth 接线,确认所需环境值,并列出登录测试。
正在使用“convex-setup-auth”。 让这个 Convex 应用为 Auth0 达到生产就绪。
预期结果:
结果会分离本地和生产租户设置,检查重定向 URL,并在 Auth0 token 验证需要手动审查时发出提醒。
安全审计
安全AI review found the static detections are false positives from Markdown links, inline code, TypeScript examples, and documented environment variable names. The skill handles sensitive auth configuration, but the reviewed files do not show credential exfiltration, prompt injection, unauthorized network requests, or executable shell behavior.
风险因素
🌐 网络访问 (13)
🔑 环境变量 (4)
分享与引用此报告
分享版本化评估报告、中性徽章、嵌入卡片和引用。Skillstore 只报告证据,不判断该 Skill 是否安全。
复制报告链接
https://skillstore.io/skills/get-convex-convex-setup-auth/audits/4?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/get-convex-convex-setup-auth?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/get-convex-convex-setup-auth?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/get-convex-convex-setup-auth/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/get-convex-convex-setup-auth.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>学术引用 (APA · BibTeX · CFF)
APA 引用
get-convex. (2026). convex-setup-auth security audit report (audit version 4) [Author version unspecified]. Skillstore. https://skillstore.io/skills/get-convex-convex-setup-auth/audits/4BibTeX 引用
@techreport{get-convex-get-convex-convex-setup-auth-2026,
author = {get-convex},
title = {convex-setup-auth security audit report (audit version 4)},
institution = {Skillstore},
year = {2026},
number = {4},
url = {https://skillstore.io/skills/get-convex-convex-setup-auth/audits/4},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "convex-setup-auth security audit report (audit version 4)"
version: "unspecified"
type: report
authors:
- name: "get-convex"
date-released: "2026-07-05"
url: "https://skillstore.io/skills/get-convex-convex-setup-auth/audits/4"
identifiers:
- type: other
value: "skillstore:get-convex-convex-setup-auth:audit:4"
description: "Skillstore immutable audit report identifier"
Skillstore 评分
评分依据 证据置信度: 高你能构建什么
在 Convex 应用中启动登录
产品工程师为新的 Convex 项目添加注册、登录和后端身份检查。
连接现有身份验证提供商
全栈开发者将 Clerk、WorkOS AuthKit 或 Auth0 连接到 Convex,而不替换当前身份验证流程。
准备生产身份验证配置
技术负责人在部署受保护的 Convex 功能之前审查本地和生产提供商设置。
试试这些提示
为这个 Convex 应用添加身份验证。如果仓库中无法明确判断使用哪个提供商,请询问我。
此应用已经使用 Clerk。将它连接到 Convex auth,保留当前登录流程,并验证 Convex 能识别已通过身份验证的用户。
审查我的 Convex 查询和变更。在需要的地方为用户拥有的记录添加服务端身份检查和授权。
为 WorkOS AuthKit 配置生产就绪的 Convex 身份验证。分离开发和生产设置,然后提供验证清单。
最佳实践
- 在编写设置代码之前选择身份验证提供商。
- 使用官方提供商文档获取当前的包和 CLI 步骤。
- 同时验证前端登录和 Convex 函数中的 ctx.auth.getUserIdentity()。
避免
- 不要信任客户端提供的用户 ID 来访问受保护数据。
- 除非应用需要应用级用户记录,否则不要添加 users 表。
- 在 Convex 识别已通过身份验证的会话之前,不要声称设置已完成。