什么是 gainforest-oauth-setup?
使用 Gainforest-sdk-nextjs 在 Next.js App Router 应用程序中实现 ATProto OAuth 身份验证。添加与 GainForest、Hypercerts 或 ATProto PDS(climateai.org、gainforest.id)集成的登录、注销、会话管理或身份验证流程时使用。 来源:gainforest/agent-skills。
使用 Gainforest-sdk-nextjs 在 Next.js App Router 应用程序中实现 ATProto OAuth 身份验证。添加与 GainForest、Hypercerts 或 ATProto PDS(climateai.org、gainforest.id)集成的登录、注销、会话管理或身份验证流程时使用。
通过命令行快速安装 gainforest-oauth-setup AI 技能到你的开发环境
来源:gainforest/agent-skills。
Step-by-step instructions for implementing ATProto OAuth in a Next.js (App Router) application using gainforest-sdk-nextjs.
These are non-obvious gotchas. Violating any of these will cause runtime failures.
| NEXTPUBLICSUPABASEURL | Yes | Your Supabase project URL | | SUPABASESERVICEROLEKEY | Yes | Server-side only. Never expose to client. | | NEXTPUBLICAPPURL | Yes | Public URL of your app. Use http://127.0.0.1:3000 for local dev (not localhost). | | OAUTHPRIVATEKEY | Yes | ES256 JWK. Generate with scripts/generate-oauth-key.js if needed. |
使用 Gainforest-sdk-nextjs 在 Next.js App Router 应用程序中实现 ATProto OAuth 身份验证。添加与 GainForest、Hypercerts 或 ATProto PDS(climateai.org、gainforest.id)集成的登录、注销、会话管理或身份验证流程时使用。 来源:gainforest/agent-skills。
为搜索与 AI 引用准备的稳定字段与命令。
npx skills add https://github.com/gainforest/agent-skills --skill gainforest-oauth-setup使用 Gainforest-sdk-nextjs 在 Next.js App Router 应用程序中实现 ATProto OAuth 身份验证。添加与 GainForest、Hypercerts 或 ATProto PDS(climateai.org、gainforest.id)集成的登录、注销、会话管理或身份验证流程时使用。 来源:gainforest/agent-skills。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/gainforest/agent-skills --skill gainforest-oauth-setup 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code、Cursor 或 OpenClaw 中使用
https://github.com/gainforest/agent-skills