Connecter Stripe à Auth0
1
Configuration de Stripe
- Inscrivez-vous pour obtenir un compte Stripe.
- Configurez votre compte et effectuez toutes les étapes de vérification nécessaires pour utiliser Stripe Connect.
- Accédez aux Onboarding options de votre compte Stripe Connect et sélectionnez OAuth.
-
Activez Enable OAuth, puis saisissez l’URI de redirection et notez votre Client ID pour plus tard.
- URI de redirection :
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. - URI de redirection :
- Accédez à la page des clés API et copiez le Client Secret.
2
Configuration d’Auth0
Ce guide vous explique comment configurer la connexion Stripe Connect dans Auth0. Pour un exemple complet montrant comment configurer votre application afin d’appeler des API tierces au nom de l’utilisateur à l’aide d’une telle connexion, consultez le guide de démarrage rapide Appeler des API tierces au nom de l’utilisateur.
Exemple de configuration du Token Vault
Pour configurer le Token Vault de votre connexion Stripe, utilisez l’extrait de code suivant dans votre 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 third-party APIs on user’s behalf Quickstart.