Connect your app to PayPal
To configure an OAuth connection with PayPal, register your Auth0 Application on the PayPal Developer Portal.
1. Register your app at the PayPal Developer Portal
Go to the PayPal Developer Portal and log in with your PayPal credentials. Click on Dashboard in the upper-right corner.
You will be directed to the My Apps & Credentials page. Scroll down to under the REST API Apps section, click Create App.
On the Create New App page, provide a value for App Name and click Create App:
2. Get your PayPal Client ID and Secret
Once PayPal has created your app, you will be shown the API credentials for this particular application. Copy both the Client ID and Secret values (the Secret value is initially hidden) for later use.
Note that by default you are editing your Sandbox account. Switch to your live account by toggling to Live on the top right of the page.
3. Provide PayPal with information about your app
Scroll down to the Sandbox App Settings section and Show the Return URL box. Enter your callback URL:
Find your Auth0 domain name for redirects
If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, plus
.auth0.com. For example, if your tenant name were
exampleco-enterprises, your Auth0 domain name would be
exampleco-enterprises.auth0.com and your redirect URI would be
If you are using custom domains, your redirect URI will have the following format:
https://<YOUR CUSTOM DOMAIN>/login/callback.
If you would like to control the scope of access to customer data (such as profile information, email address, home address, and phone number) through Auth0, you need to enable access to this information by selecting the desired attributes under the Advanced Options, which becomes available to you if you enable the Log In with PayPal feature.
For your Sandbox Account to work, check the Full Name, Date of birth, Timezone, Locale, and Language because Auth0 requires this Basic Profile information.
4. Provide your PayPal Client Id and Secret to your Auth0 application
Go to the Connections > Social section of the Auth0 Dashboard. Under the Social page, click to enable PayPal.
Paste in the Client Id and Secret from the PayPal Developer Portal into the App ID and App Secret fields on this page on Auth0, respectively, then click Save.
5. Enable and test the connection
Switch the Paypal connection in the dashboard to enabled. Then under Applications, choose which of your applications you want to enable this connection and then click SAVE.
Now you should see a TRY button for the Paypal connection.
This allows you to test your connection to see if it has been configured properly.