カスタムOAuth アプリケーションの作成
Creating a Custom OAuth Application
CData Tableau Connector for Smaregi requires the creation of a custom OAuth application to connect to Smaregi from all auth flows. Custom OAuth applications are also 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.
- Customize the permissions that you are requesting from the user.
To register a custom OAuth application and obtain the OAuth client credentials, client id, and client secret:
- Login to the Developer Account Portal. Create a Developer Account if you have not already done so.
- On the application list screen, click Register new public/private app.
- After entering your information, click Register.
- The OAuthClientId and ClientSecret are displayed along with the information you specified when setting up the application. Record the OAuthClientID and ClientSecret for future use.
- Then set the scope. In the Smaregi Developers page, goto Application -> Private/Public Application.
- Click on View Summary of the application to configure the settings.
- Click on the Scope tab.
- Click Smaregi as the service to be configured.
- Select the scope to be linked to the application. All scopes must be selected to use all functions of the driver. After completing the settings, click Save.
- Then activate the application. In the Smaregi Developers page, goto Application -> Private/Public Application.
- Click on View Summary of the application to configure the settings.
- Enter the Contract ID to use the application and click Activate.
- When a confirmation dialog box appears, click Yes.
- An email with the subject "[SMAREGI] Application Activation Application" will be sent to the email address registered with the relevant Contract ID.
- Click on the link in the body of the email sent to confirm the contents.
- Click Terms of Use to confirm the contents and check the box if you agree.
- Click on I agree to the above terms and conditions and check the box if you agree.
- Log out and then log back in to use the application.