Configure Supabase authentication providers (OAuth, JWT, email). Use when setting up authentication, configuring OAuth providers (Google/GitHub/Discord), implementing auth flows, configuring JWT settings, or when user mentions Supabase auth, social login, authentication setup, or auth configuration.
View on GitHubFebruary 1, 2026
Select agents to install to:
npx add-skill https://github.com/vanman2024/ai-dev-marketplace/blob/main/plugins/supabase/skills/auth-configs/SKILL.md -a claude-code --skill auth-configsInstallation paths:
.claude/skills/auth-configs/# auth-configs ## Instructions This skill provides complete authentication configuration for Supabase-powered AI applications. It covers OAuth provider setup, JWT configuration, email authentication with PKCE flow, and auth middleware templates. ### 1. OAuth Provider Setup Configure social login providers for your Supabase project: **Supported Providers:** - Google - Best for consumer apps, Google Workspace integration - GitHub - Ideal for developer tools, technical audiences - Discord - Perfect for community-driven AI applications - Facebook, Apple, Microsoft Azure, Twitter, LinkedIn, Slack, and 20+ more **Setup Process:** ```bash # Configure OAuth provider (creates config, provides setup instructions) bash /home/vanman2025/Projects/ai-dev-marketplace/plugins/supabase/skills/auth-configs/scripts/setup-oauth-provider.sh google # Or use template directly cat /home/vanman2025/Projects/ai-dev-marketplace/plugins/supabase/skills/auth-configs/templates/oauth-providers/google-oauth-config.json ``` **Provider Setup Steps:** 1. Create OAuth application in provider console (Google Cloud, GitHub Settings, etc) 2. Configure authorized redirect URIs (template provides exact URLs) 3. Copy Client ID and Client Secret 4. Update Supabase project auth settings 5. Test authentication flow ### 2. JWT Configuration Configure JSON Web Token settings for secure session management: ```bash # Set up JWT signing secrets and configuration bash /home/vanman2025/Projects/ai-dev-marketplace/plugins/supabase/skills/auth-configs/scripts/configure-jwt.sh ``` **JWT Settings:** - Signing algorithm (HS256 recommended for most apps) - Token expiration times (access and refresh tokens) - JWT secret rotation - Custom claims for role-based access ### 3. Email Authentication with PKCE Flow Configure secure email authentication for server-side rendering: ```bash # Set up email auth with PKCE flow for SSR applications bash /home/vanman2025/Projects/ai-dev-marketplace/plugins/supabase/skills/a