CData Python Connector for SurveyMonkey

Build 24.0.9062

カスタムOAuth アプリケーションの作成

Creating a Custom OAuth Application

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

However, you must create a custom OAuth application to connect to SurveyMonkey 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 SurveyMonkey developer console.

  1. Open the SurveyMonkey developer console at https://developer.surveymonkey.com/.
  2. Click My Apps.
  3. Log in to your SurveyMonkey 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 本製品 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 24.0.9062