Favrit AS Posted December 1, 2021 Share Posted December 1, 2021 (edited) Hi @Steel, Mark, I am facing an issue in authorization with my PROD and QA URL which i have configured at my app to redirect URL/ callback URL. I can successfully provide access when I am pointing the redirect URL as my localhost. But when I used https// .. for QA and PROD as redirect I am getting error and and I am redirected to https://central.uk.sageone.com/errors/oauth-failed link. You can see the following image of my configured and error issue page for reference. Edited December 1, 2021 by Favrit AS Link to comment Share on other sites More sharing options...
Steel, Mark Posted December 2, 2021 Share Posted December 2, 2021 Hi Favrit Do you have the details of the error returned. For example is it returning an http 500 error response? Usually 500 responses indicate that the page is inaccessible to the calling request. What have you done to ensure that this page is accessible to cloudflare when it responds with the access and refresh tokens? Thanks Mark Link to comment Share on other sites More sharing options...
Favrit AS Posted December 2, 2021 Author Share Posted December 2, 2021 I was requesting the authorization to this url : https://www.sageone.com/oauth2/auth/central?filter=apiv3.1&response_type=code&client_id={clientIdValue}&redirect_uri=https://qa.favrit.com/ws/ordr-service/ws/public/integration/accounting/sage&scope=full_access and redirecting to this page. Link to comment Share on other sites More sharing options...
Steel, Mark Posted December 3, 2021 Share Posted December 3, 2021 Thanks Favrit You'll need to create some additional logging in your app which will allow you to store the response when making the request. How is this callback page being hosted? IIS? If I attempt to access the page I am denied access, what configuration have you made that will allow cloudflare to access the callback page? Thanks Mark Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now