When using the below request in a web browser
I correctly get prompted to authorise my app, then correctly get redirected to the specified redirect URI (Google for testing) but the URL gives the below error:
Can anyone shed some light on this issue, please?
Hi Rhys Smith
Unfortunately, the error you get returned is not really helpful, we need to fix that at some point in the future.
What actually happened in most cases when you see this error is that the parameter you sent with your auth request were invalid (e.g. you send a wrong client_id).
Please have a look at our detailed documentation around the authorization request: https://developer.sage.com/api/accounting/guides/authentication/#1-authorization-request
I hope this will help you to fix the issues you are seeing.
Thanks for your response.
The client ID was correct, but I swapped a few of the parameters around, ensured they were all in the correct case and it is now working!