TDV Adapter for SurveyMonkey

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 Survey Monkey via a desktop application or a headless machine.

However, you must create a custom OAuth application to connect to Survey Monkey 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

The following procedure obtains the OAuth client credentials, the OAuthClientId, OAuthClientSecret and OAuthAccessToken, and registers the application in the Survey Monkey developer console.

  1. Open the Survey Monkey developer console at https://developer.surveymonkey.com/.
  2. Click My Apps.
  3. Log in to your Survey Monkey account.
  4. Click Create an App. Specify an application nickname, and specify whether the application should be private or public. (Public application use requires an Advantage-level plan; private application use requires a Premier-level plan.)
  5. Click Settings. The console displays the application settings for Client Id, Secret, and Access Token.
    • If this is a desktop application, set the Callback URL to http://localhost:33333 or a different port number of your choice.
    • If this is a Web application, set the Callback URL to a web page where the user should be redirected after they authorize your application.
  6. Select the scopes required by your application. The adapter requires the following scopes:
    • View Users
    • View Surveys
    • View Responses
    • View Response Details
    • View Contacts
    • View Collectors

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