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 Outreach via a desktop application or a headless machine. If you want to use the embedded OAuth application, all you need to do to connect is to:- set AuthScheme to OAuth,
- get and set the OAuthAccessToken, and
- set the necessary configuration parameters.
(For information on getting and setting the OAuthAccessToken and other configuration parameters, see the Desktop Authentication section of "Connecting to Outreach".)
However, if you need to connect to Outreach via the Web, you will have to create a custom OAuth connection. In fact, 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 obtain the OAuth client credentials you need to make a custom OAuth connection, including OAuthClientId and OAuthClientSecret, contact Outreach directly via [email protected].
After you obtain this information, use it to configure the connection variables to connect and authenticate to Outreach, as described in "Connecting to Outreach".