sp-auth0

Provision and configure Auth0 applications through the Stripe Projects CLI.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/PhongCT1105/okta_stripe_hack --skill sp-auth0-phongct1105
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sp-auth0
Source: https://github.com/PhongCT1105/okta_stripe_hack/tree/main/.agents/skills/sp-auth0
Command: npx skills add https://github.com/PhongCT1105/okta_stripe_hack --skill sp-auth0-phongct1105

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Setting up Auth0 for a web application involves choosing the correct application type, configuring callback and logout URLs, and syncing environment variables, and mistakes in any of these steps cause login failures that are hard to debug. ## Core Features & Use Cases - CLI-Driven Provisioning: Creates and updates Auth0 clients via stripe projects commands with complete JSON configuration payloads mapped to the Auth0 Management API. - SDK Version Verification: Requires reading the locally installed Auth0 SDK README before writing integration code to avoid breaking-change errors across major versions. - Mandatory Verification: Syncs environment variables and validates configuration after every change, with a dashboard fallback only for unsupported fields. - Use Case: When adding Auth0 login to a Next.js app, the skill inspects the repo, classifies the app as a Regular Web App, creates the client with correct localhost callback URLs, and pulls the env vars locally. ## Quick Start Set up Auth0 authentication for my Next.js app using Stripe Projects, including callback URLs and local environment variables.

Frequently Asked Questions about sp-auth0

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I set up Auth0 for a Next.js app with Stripe Projects?

Run stripe projects catalog auth0 to confirm the client resource type, then create it with stripe projects add auth0/client including callbacks, allowed_logout_urls, and web_origins in the config JSON. Finish with stripe projects env --pull to sync credentials locally.

How do I configure Auth0 callback URLs from the CLI?

Pass the callbacks array directly in the --config JSON payload of stripe projects add or update commands, for example {"callbacks": ["http://localhost:3000/api/auth/callback"]}. The skill forbids configuring these URLs manually in the Auth0 dashboard.

Which Auth0 application type should I choose for my project?

Choose Regular Web App for server-rendered frameworks like Next.js, SPA for browser-only apps, Native for mobile or desktop, and M2M for service-to-service authentication. Inspect installed Auth0 SDKs and routing patterns to confirm the type before creating anything.

Why does my Auth0 integration fail after installing the SDK?

Auth0 SDKs introduce breaking changes across major versions, such as @auth0/nextjs-auth0 v4 replacing initAuth0() with new Auth0Client(). Check the installed version and read its local README before writing any integration code.

What if Stripe Projects cannot configure an Auth0 setting?

Exhaust all CLI config options first, validating fields against the Auth0 Management API OpenAPI spec. Only as a last resort run stripe projects open auth0 and document the exact dashboard fields and values requiring manual entry.