Skip to content
Developerhome

Improvements in the Authentication Process

Published   25 March 2020     Less than to read

We have improved the global authentication page (https://www.sageone.com/oauth2/auth/central) that you use to start the OAuth2 flow. 🎉

Read more about authentication in our Detailed Authentication Guide.

Immediate redirect to given country

It is now possible to provide the extra query parameter country to skip the country selection page. If you know the country of your business before starting the auth flow, send it with the auth request - this will save time and prevent user errors during authentication.

Here’s an example request for a French business:

GET https://www.sageone.com/oauth2/auth/central?country=FR&...

Better filtering

We already had an option to filter for API v3.1 countries only on this page, but if you provided a wrong filter value, you would have just seen an empty page. This has now changed - you will see a message as well as a link to see all available countries instead:

Invalid Filter Value on Auth Page