openai-sign-in-with-vercel
预览截图
安装方式
先用 Prompt 核对来源与依赖。也可下载安装包。
用 AI 助手安装
复制提示词,让助手先核对固定版本和依赖。
查看 Prompt收起 Prompt
先检查当前 Agent 是否已安装 SkillPI Skill Finder。如果尚未安装,请按官方仓库的说明安装并启用:https://github.com/Findskills/skillpi。然后使用 Skill Finder 打开此 SkillPI 详情页并定位 "openai-sign-in-with-vercel":https://skillpi.com/zh/skills/deepskill-58d83d8beb9da7dc714200051c819d78c1da34cf5ce3cf5353088552acad7346。安装前核对上游来源和版本:https://github.com/openai/plugins。来源不一致时停止并说明差异。核对通过后,用 Skill Finder 安装目标 Skill,并报告安装路径和来源版本。
来源与配置
github.com
配置方式待核实
请查看原始来源中的适用工具、依赖和权限要求。
安装实测待补充
使用 Vercel 登录指南 — 通过 Vercel 账户进行用户身份验证的 OAuth 2.0/OIDC 身份提供程序。在将 Vercel 作为身份提供程序实现用户登录时使用。
介绍来源: third_party · openai · 0.0.1 参考来源
SkillPi 解读
- 能完成的任务
- 以 Vercel 指南签名 — OAuth 2.0 /OIDC身份提供者通过Vercel账户进行用户认证. 在以Vercel为身份提供者实施用户登录时使用.
- 适合谁
- 构建需要 Vercel 账户身份的工具/ dashboard 授予用户通过用户已经拥有 Vercel 账户的应用程序开发者创建程序访问自己的 Vercel 资源
- 实测状态
- 未测试
文件浏览
Frontmatter
name: sign-in-with-vercel
description: Sign in with Vercel guidance — OAuth 2.0/OIDC identity provider for user authentication via Vercel accounts. Use when implementing user login with Vercel as the identity provider.
metadata:
priority: 6
docs:
- "https://vercel.com/docs/sign-in-with-vercel"
sitemap: "https://vercel.com/sitemap/docs.xml"
pathPatterns:
- 'app/api/auth/**'
- 'app/login/**'
- 'src/app/api/auth/**'
- 'src/app/login/**'
- 'pages/api/auth/**'
bashPatterns: []Sign in with Vercel
You are an expert in Sign in with Vercel — Vercel's OAuth 2.0 / OpenID Connect identity provider.
What It Is
Sign in with Vercel lets users log in to your application using their Vercel account. Your app does not need to handle passwords, create accounts, or manage user sessions — Vercel acts as the identity provider (IdP).
OAuth 2.0 Authorization Code Flow
1. User clicks "Sign in with Vercel"
2. Redirect to Vercel authorization URL
3. User grants consent on Vercel's consent page
4. Vercel redirects back with authorization code
5. Exchange code for tokens (ID Token + Access Token + Refresh Token)
Tokens
| Token | Lifetime | Purpose |
|---|---|---|
| ID Token | Signed JWT | Proves user identity (name, email, avatar) |
| Access Token | 1 hour | Bearer token for Vercel REST API calls |
| Refresh Token | 30 days | Silent re-authentication (rotates on use) |
Configuration
- Register your app at
https://vercel.com/dashboard/{team}/integrations/console(the Integrations Console). Click Create Integration → fill in the OAuth details → note the Client ID and Client Secret. - Configure redirect URIs and scopes
- Use any standard OAuth 2.0 client library (no Vercel-specific SDK required)
When to Use
- Build tools/dashboards that need Vercel account identity
- Grant users access to their own Vercel resources via your app
- Developer-facing apps where users already have Vercel accounts
When NOT to Use
- General-purpose user auth (not everyone has Vercel) → use Clerk, Auth0
- Machine-to-machine auth → use Vercel OIDC Federation or API tokens
- Internal team auth → use Teams & Access Control
References
当前收录版本
0.0.1
安全与评测信息
质量评测
满分100 · 来自 SkillPi LAB 实验室的评测报告。
亮点
- 提供 Vercel OAuth 登录集成指导,解决开发者身份验证需求
- 明确区分使用场景与不适用场景,提升决策效率
亮点
- pathPatterns 覆盖典型 OAuth 路径,触发边界清晰
- frontmatter description 完整且位置正确
亮点
- OAuth 流程分步说明清晰,含端到端示例
- frontmatter 完整,单文件长度合规
亮点
- 基于 Vercel 官方 OAuth 2.0/OIDC 协议,参数正确
- Token 生命周期管理完整,含刷新机制
取前四项原始分值的算术平均,四舍五入取整。可通过收录报告核对各项评分与说明,运行记录需单独查证。
正文静态检测
100 / 100 · skillpi-20261123-no-r3-v1
正文未命中当前规则。
分数仅反映正文中的规则命中,供使用前参考。附件与运行行为不在此评分范围内。
权限与使用前检查
根据当前主文档自动整理,命中内容可能是示例或防护说明;不是实际权限声明,也未覆盖附件、外部依赖或运行行为。
-
账号、密钥或授权
使用专用、最小权限账号,不把密钥粘贴到公开内容或命令日志;核对接收数据的服务与租户。
主文档提及 · 第 3, 20, 26, 33, 41 行
文档引用的域名或地址
这些地址可能用于文档链接或示例,不是已批准的联网清单。使用前核对实际目的地及发送的数据。
- vercel.com
安全评级与访问范围
safe · 静态证据核验,不代表运行安全保证。
使用前请由宿主核对并授权实际文件读写、外部服务和联网目的地;本站的核验不会授予任何运行权限。
用户讨论
还没有已核实的点评。