I see in the error description that, Missing required parameter(s): code, redirect_uri
Are you building an custom app or marketplace app? Describe the nature of application that you are trying to build.
It looks like the app is trying to use OAuth platform capability. Can you confirm if my assumption is true?
May I know how the app is making requests to the mentioned endpoints? Is it making from the frontend or backend? Is it using Request API?
If you are able to; can you share the usecase or the problem that Trainline is trying to solve? A short 1-2 lines to help us understand the context would be fine
We have built a custom App for Trainline which will use OAuth for Integrating their surveyMonkey account with Freshdesk.
we will fetch the agent info and group info from backend using $requests. We get the above error when we try to do this, but this works fine in one of my freshdesk account lworkers.freshdesk.com
@Manigandan_Ravi I still don’t have valuable update to give you. Currently, since multiple teams are involved it’s taking a bit more time than expected.
The following error is thrown then app makes a request to refresh the oauth access token.
Looks like in this case, 3rd party vendor is expecting code, and redirect_uri as part of app’s request.
When ever app makes a API call using the platform’s request api, from the platform there is a proxy which makes the request on behalf of the app. Also, the OAuth is carried on by the platform itself following RFC 6749 standard.
However, in this case 3rd hasn’t been compliant to this standard which happens be causing this error at the moment.
UPDATE:
We are currently working to evolve OAuth platform feature beyond the RFC 6749 to enable to developers work with OAuth vendors who don’t follow RFC 6749 standards. Until then, current developers has been suggested to use middleware to solve this non-compliance.