OAuth 2.0 Authentication

The Simba PayPal ODBC Connector uses the OAuth 2.0 protocol for authentication and authorization. You can authenticate your connection through OAuth 2.0 by specifying an access token, or by providing your PayPal app information so that the connector retrieves and uses the corresponding access token.

When you connect using your PayPal app information, the connector initiates an OAuth 2.0 authentication flow using SQLBrowseConnect as described below:

  1. The application submits a connection string with the Driver, Auth_Type, Auth_Client_ID, and Auth_Client_Secret parameters.
  2. The connector retrieves an access token and an expiration time from the data source, and returns them to the application along with the Auth_WindowHeight and Auth_WindowWidth parameters.

The connector can now use the access token to authenticate the connection to PayPal. The access token is submitted in a connection string with the Auth_AccessToken parameter.