Preauthenticate Exact Online

To preauthenticate an Exact Online application, please execute the following steps:


Ask Invantive Support for the values of your app, or execute the following steps:

Navigate to the Exact App Center:


Choose the correct country.

Log in:


Choose 'Manage my apps':


Choose the app that you wish to preauthenticate.

Click on 'Show' next to the client secret.

Take note of the following values as shown below: client ID, client secret and redirect URI.



Then preauthenticate the application:

Open Invantive Cloud.

Choose "Preauthenticate" in the menu.

Read and fill out the form as shown using the values previously noted:


When you use a redirect URI different from, remember to check the box "Deviating Redirect URI". If so, an additional form appears labeled "Exchange Code".

Click on the "Preauthenticate" button.

Exact Online will now ask you to authenticate yourself:


On successful authentication, Exact Online will ask you to authenticate access by the application to your Exact Online data with the same privileges as the user:


Click on "Allow".

The browser will be redirected to the redirect URI.

The URL will contain essential information for preauthentication.

Click in the URL and copy the whole URL to the clipboard:


Exchange the URL into a OAuth2 refresh token by pasting it in the field "Code Return URL" and press the button "Exchange".


The resulting page displays the settings for preauthenticating your application:


The field "Refresh Token" contains the OAuth2 refresh token.

The field "Content settings.xml" contains an Invantive database definition for storage as a file named settings-<NAME>.xml in %USERPROFILE%\invantive. Confidential information in the connection string is however readable in plaintext.

To encrypt the connection string in settings.xml with your Invantive device key, you can use the Invantive Script statement in the field "Encrypt Statement". You must execute this statement on the same device as you will be using the connection string since encryption with the Invantive device key effectively binds the encrypted text to the hardware.