Connect Stripe to Auth0
1
Set up app in Stripe
- Sign up for a Stripe account
- Setup your account and complete any necessary verification steps to work with Stripe Connect.
- Navigate to the Onboarding options for your Stripe Connect account and select OAuth.
-
Toggle Enable OAuth then fill in the Redirect URI and note your Client ID for later.
- Redirect URI:
https://YOUR_AUTH0_DOMAIN/login/callback
You can find the Auth0 domain in the Auth0 Dashboard.You can find this under Applications > [Your Application] > Settings > Basic Information > Domain.If you are using the custom domains feature, your Auth0 domain is the custom domain. You can find this under Branding > Custom Domains. - Redirect URI:
- Navigate to the API Keys Page and copy the Client Secret.
2
Auth0 setup
Token Vault configuration example
To configure the Token Vault for your Stripe connection, you can use the following code snippet in your application:Next steps
- To learn how to configure applications to access Token Vault, read Configure Token Vault.
- If your application uses Organizations, authenticate the user with the target organization before initiating the Connected Accounts flow. Connected accounts remain linked to the individual user profile.
- To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.