Extending your Authentication Flows with Auth0 Actions
summary
Demo shows Auth0 Actions calling Stripe to create a customer during login, storing the Stripe customer_id in Auth0 app_metadata, then adding it as a custom claim on the access token so a Netlify function can start Checkout without a custom DB. Stack: Auth0 (Actions), Stripe, Netlify functions, React. The code uses npm Stripe client, secret keys in Actions, and works in the demo; surprising usage stats mentioned: ~30% know app vs user metadata and ~4% know Stripe.
AI-written summary · about
