Jump to content

How to bypass authentication prompt when generating Access Token - Sage 200 API UK


 Share

Recommended Posts

I am trying to retrieve data from a windows service application using Sage 200 API. When authenticating there is a popup showing up to sign in. We cannot have this popup in a windows service application since it has no user interaction. Is there a workaround for this?

Link to comment
Share on other sites

  • Administrators

Hi Lyle,

There isn't a method of bypassing the login requirement, but you can maintain the connection indefinitely by using the refresh token. When token exchange occurs you will get a new refresh token, cache it and use when the access token expires or is used. Further details: https://gb-kb.sage.com/portal/app/portlets/results/viewsolution.jsp?solutionid=210226173239343

 

Hope that helps!

 

Ben

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...