JDBC Driver for LinkedIn Marketing Solutions

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 via a desktop application or headless application. Web applications require that you create a custom OAuth application.

You may choose to use your own OAuth Application Credentials when you want to:

  • control branding of the Authentication Dialog
  • control the redirect URI that the application redirects the user to after the user authenticates
  • customize the permissions that you are requesting from the user

To create a custom OAuth application for use with LinkedIn Marketing Solutions:

  1. Log in to your LinkedIn developers dashboard and click Create New App.
  2. Enter the page URL you want to associate with the app, alongside information to be displayed to users when they are prompted to grant permissions to your application.
  3. Select your application.
  4. In the Products tab, select Sign in with LinkedIn.
  5. Wait for the owner of the LinkedIn page to approve your application. After that is done, your application will have the OAuth 2.0 permissions it needs. These permissions will be visible in the Auth tab.
  6. Set the redirect URI:
    • For desktop applications, in the Auth tab set the Redirect URI 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 URI to a page on your web app that you want the user to be returned to after they have authorized your application.
    • For headless machines, in the Auth tab, set the Redirect URI to http://localhost:33333 or a port number of your choice.
      The OAuthClientId and OAuthClientSecret are also displayed in the same page.
  7. Set the application's Scope property to include all of the following scopes:
    • r_emailaddress
    • r_ads,
    • w_organization_social
    • rw_ads,r_basicprofile
    • r_liteprofile
    • r_ads_reporting
    • r_organization_social
    • r_member_social
    • rw_organization_admin
    • w_member_social
    • r_1st_connections_size
    • r_ads_leadgen_automation

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