JDBC Driver for LinkedIn

Build 23.0.8839

Creating a Custom OAuth Application

Creating a Custom OAuth Application

CData embeds OAuth Application Credentials with CData branding that can be used when connecting to LinkedIn via a desktop application or a headless machine.

However, you must create a custom OAuth application to connect to LinkedIn via the Web. And since custom OAuth applications seamlessly support all three commonly-used auth flows, you might want to create custom OAuth applications (use your own OAuth Application Credentials) for those auth flows anyway.

Custom OAuth applications are useful if you want to:

  • control branding of the authentication dialog;
  • control the redirect URI that the application redirects the user to after the user authenticates; or
  • customize the permissions that you are requesting from the user.

Procedure

To create a custom OAuth application that obtains the OAuth connection properties:

  1. Log in to the LinkedIn Developer Platform.
  2. Click Create app.
  3. Enter information to be displayed to users when they are prompted to grant permissions to your application.
After the application is created:
  1. Select the application that was created and request access for Advertising API from the list of Products. The LinkedIn Marketing Developer Platform Access Form displays.
  2. Fill in the required details and submit the form.
  3. After LinkedIn makes the new custom application available, navigate to the Auth section.
    • Configure the following OAuth 2.0 scopes: r_basicprofile, r_emailaddress, r_organization_social, and r_organization_admin.
    • Configure the authorized Redirect URLs.

      For desktop applications, set the Redirect URL to http://localhost:33333 or a port number of your choice. When you connect, you must set the CallbackURL connection property to this exact URL.

      For web applications, set the Redirect URL to a page on your Web app that you would like the user to be returned to after they have authorized your application.

      For headless machines, set the Redirect URL to http://localhost:33333 or a port number of your choice.

The OAuthClientId and OAuthClientSecret display on the same page. Make a note of these values for future reference.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839