カスタムOAuth アプリケーションの作成
Creating a Custom OAuth Application
CData embeds OAuth Application Credentials with CData branding that can be used when connecting to Wave Financial via a desktop application or a headless machine. To use the embedded credentials from a Desktop or Headless Server, all you need to do is:- set AuthScheme to OAuth,
- get and set the OAuthAccessToken, and
- set the necessary configuration parameters.
(For information on getting and setting OAuthAccessToken and other configuration parameters, see the Desktop Authentication section of "Connecting to Wave Financial".)
However, you must create a custom OAuth application to connect to Wave Financial 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
- Log into your Wave Financial account.
- Navigate to the WaveApps console.
- Click Create an application.
- Fill in your application details. We recommend assigning a redirect url of http://localhost:33333/ (default for this tool).
- Save the new application.
- Retrieve the OAuthClientId and OAuthClientSecret.