Connect your app to PayPal
To configure an OAuth connection with PayPal, register your Auth0 Client on the PayPal Developer Portal.
This doc refers to the client steps to connect your client. If you are looking to manage authentication in your application, see Next Steps below.
1. Registering Your Auth0 Client Using 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. Obtain 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.
3. Provide PayPal with Information About Your Auth0 Client
Scroll down to the Sandbox App Settings section and Show the Return URL box. Enter the following value:
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.
4. Provide Your PayPal Client Id and Secret to Your Auth0 Client
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 Clients, choose which of your clients 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.
Note: The Target URL field that you enter can take up to 3 hours for the change to go into effect with Paypal. This can cause the connection to fail until it is updated.
For detailed instructions and samples for a variety of technologies, refer to our quickstarts:
For more background information on client authentication refer to Client Authentication.