Creating a Custom OAuth App
When to Create a Custom OAuth App
Creating a custom OAuth app is required in the web flow. Creating a custom OAuth app is optional for desktop and headless applications; the driver is already registered with Exact Online and you can connect with its embedded credentials. Creating a custom OAuth app is optional as the driver is already registered with Exact Online and you can connect with its embedded credentials.You might want to create a custom OAuth app to change the information displayed when users log into the Exact Online OAuth endpoint to grant permissions to the driver.
Follow the steps below to create a custom OAuth app and obtain the connection properties in a specific OAuth authentication flow.
Create a Custom OAuth App: Desktop and Headless Machines
To obtain the OAuth client credentials, the OAuthClientId and OAuthClientSecret, follow the steps below:
- If you have not already done so, create an Exact Online developer account.
- Log into the App Center and click Manage Apps -> Add a New Application.
- Enter the app name to be displayed to users when they are prompted to grant permissions to your app.
- Set the Redirect URI to https://oauth.cdata.com/oauth/.
- Click the Edit button for your app. The client credentials, the client Id and client secret, are displayed.
Create a Custom OAuth App: Web Apps
To obtain the OAuth client credentials, the OAuthClientId and OAuthClientSecret, follow the steps below:- If you have not already done so, create an Exact Online developer account.
- Log into the App Center and click Manage Apps -> Add a New Application.
- Enter the app name to be displayed to users when they are prompted to grant permissions to your app.
- Set the Redirect URI to a page you would like the user to be returned to after they have granted your application permissions.
- Click the Edit button for your app. The client credentials, the client Id and client secret, are displayed.