Server-Side Authorization using v3.1

I need to do some batch processing (e.g. end-of-day posting of invoices) using server-side code with no user interaction

So, how do a perform the Authentication dance in this scenario? 

The guide ( https://developer.sage.com/api/accounting/guides/authentication/ ) and Postman examples both use redirection to a login page, where the user selects their country and enters their username and password.  But in my server-side scenario, there is no user involved.

Do I need to handle the redirections and username/password in my server-side code?  Is there some other way to get the token using client_id and client_secret?

Thanks for your help.

Parents Reply Children
No Data