Connect PayPal to Auth0
PayPal setup
- Visit the PayPal Developer account page and sign up.
- Create a new App in the PayPal Developer Console.
- Give the app a name and choose whether it’s for test (Sandbox) or live.
- Click Create App to see the app detail page.
- Copy the Client ID and Client Secret.
- Enable the appropriate the features.
-
Click Advanced Settings and configure the Return URL.
- Return URL:
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. - Return URL:
- Select scope attributes for OpenID connect (OAuth2) protocol.
- Click Save to save changes.
Token Vault configuration example
To configure the Token Vault for your PayPal 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.
- To learn how to get an access token to make a tool call, complete the Call other’s APIs on user’s behalf Quickstart.