Using cloud.invantive.com I am preauthenticating a connection to Exact Online using the OAuth2 Code Grant Flow. I have entered the client ID, the associated client secret and checked deviating redirect URI.
On clicking the Preauthenticate button, I get the following error without entering a username/password first:
Invalid authorization request
The URL on top is like:
The error text does not give a clear hint, but in this case I had forgotten to replace the contents of the redirect URI by the value of the redirect URI given on the Exact Online app center on the app with the client ID used.
After correcting the redirect URI, I was presented with a login form. After entering credentials I got my refresh token.