Jump to content

Rishiom Shah

Members
  • Posts

    3
  • Joined

  • Last visited

Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks Mark, I am able to authorise with oAuth. Thanks for the fix. Rishiom
  2. For testing using code, I have used this resource - https://developer.sage.com/accounting/guides/authenticating/authentication/
  3. Hello, I am trying to integrate Sage API for Sage Business Cloud Accounting subscription. I am doing this for running API based actions currently only within my organisation. Details of my setup: Registered a developer account on https://developerselfservice.sageone.com/ and created an App In the App settings added callback URL for local - "http://localhost:8000" as well as for Postman Using a separate email, registered a Trial Accounting Plus account (Ireland) here - https://developer.sage.com/accounting/quick-start/set-up-the-basics/ Upgraded the trial account by providing the App details to Sage Team - https://developer.sage.com/accounting/quick-start/upgrade-your-account/ To generate access token for use with Sage API requests, trying to complete oAuth flow using localhost and Postman as per - https://developer.sage.com/accounting/quick-start/ Testing & issue: Tried to Authorize the App using the Trial / organisation's account login details for the API - https://www.sageone.com/oauth2/auth/central?filter=apiv3.1 Authorization request is failing and I am unable to generate a Authorization code using both localhost & Postman setup After entering the login credentials and 2FA code, I still get an error The app doesn't go to the "Authorise application" page and directly goes to "Authorise Application Error" page (see attached screenshot) "Authorise Application Error" page is at URL - https://central.uk.sageone.com/errors/oauth-failed I have checked the browser console and network tabs but cannot find any information that may shed light on the issue Since I cannot get an Authorization code via oAuth, I can't generate an access token for API requests Trouble shooting steps: Checked the callback url is same on the App and the API request Followed the Troubleshooting oAuth issues here - https://developer.sage.com/accounting/guides/authenticating/oauth-troubleshooting/ Followed forum suggestion here - https://developer-community.sage.com/topic/683-authorize-application-error/ Queries: What could be the possible issue(s) in my setup and how do I debug and resolve them? Since initially I am planning to use the Sage API internally, can I generate access tokens directly without using oAuth? Please provide support on the issue as I have tested the setup several times without success and I need to get it working relatively quickly for automating actions for my organisation. Thank you in anticipation.
×
×
  • Create New...