Agent skill
chatgpt-app:add-auth
Configure authentication for your ChatGPT App using Auth0 or Supabase Auth for multi-user support.
Install this agent skill to your Project
npx add-skill https://github.com/hollaugo/tutorials/tree/main/chatgpt-apps-plugin/skills/add-auth
SKILL.md
Configure Authentication
You are helping the user add authentication to their ChatGPT App.
When to Add Auth
- Multiple users will use the app
- Users need persistent, private data
- External APIs require user-specific credentials
Supported Providers
Auth0
- Full OAuth 2.1 implementation
- Enterprise features (SSO, MFA)
- Best for production apps
Supabase Auth
- Simple email/password and social login
- Integrated with Supabase database
- Good for simpler apps
Workflow
-
Choose Provider Ask: "Which authentication provider: Auth0 or Supabase Auth?"
-
Guide Setup
For Auth0:
- Create Auth0 application (Regular Web App)
- Configure callback URLs:
{PUBLIC_URL}/auth/callback - Get Domain, Client ID, Client Secret
For Supabase:
- Enable Authentication in project
- Get Project URL and keys
-
Generate Auth Code Use
chatgpt-auth-configuratoragent to create:- OAuth provider implementation
- Discovery endpoints
- User subject extraction
-
Update Server Modify
server/index.tsto use auth middleware. -
Update Environment Add required variables to
.env.example. -
Test Auth Flow Guide through testing the OAuth flow.
Environment Variables
Auth0:
AUTH0_DOMAIN=your-tenant.auth0.com
AUTH0_CLIENT_ID=your-client-id
AUTH0_CLIENT_SECRET=your-client-secret
PUBLIC_URL=http://localhost:8787
Supabase:
SUPABASE_URL=https://your-project.supabase.co
SUPABASE_ANON_KEY=your-anon-key
SUPABASE_SERVICE_KEY=your-service-key
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
chatgpt-app:new
Create a new ChatGPT App from concept to working code. Guides through conceptualization, design, implementation, testing, and deployment.
chatgpt-app:add-auth
Configure authentication for your ChatGPT App using Auth0 or Supabase Auth for multi-user support.
chatgpt-app:add-tool
Add a new MCP tool to your ChatGPT App. Guides through tool design, schema creation, and code generation.
chatgpt-app:deploy
Deploy your ChatGPT App to Render with PostgreSQL database and automatic health checks.
chatgpt-app:golden-prompts
Generate test prompts to validate that ChatGPT will correctly invoke your app's tools.
chatgpt-app:add-widget
Add a new inline widget to your ChatGPT App with Tailwind CSS and Apps SDK integration.
Didn't find tool you were looking for?