Jump to content

Create a simple nodejs web site and try to get auth code and token, but it always get error 'The redirect URI provided is missing or does not match'


 Share

Recommended Posts

Create a simple nodejs web site and try to get auth code and token (reference sample codes), but it always get error 'The redirect URI provided is missing or does not match'.

Below is the detail error message:

{"error":{"code":"invalidRequest","message":"The redirect URI provided is missing or does not match","errorId":"REST-1224","additionalInfo":{"messageId":"IA.THE_REDIRECT_URI_PROVIDED_IS_MISSING_OR_DOES_NOT_MATCH","placeholders":{},"propertySet":{}},"supportId":"EYKHTWEB032%7EZeffuP5j0or4SM7-iKrOrAAAAAw"}}
Link to comment
Share on other sites

In the App registry related to the client ID you are using you have to identify a  redirect URI

  1. Enter a Redirect URI as a full https URL. During the authorization process, users will be redirected to this URL after authorizing your application to access their data in Sage Intacct. Your application needs to have a script or code at this URL that is ready to receive an OAuth authorization code and use it to request a token. You can provide multiple URLs as a comma-separated list.

Source: https://developer.sage.com/intacct/docs/developer-portal/getting-started/quick-start/

Link to comment
Share on other sites

 Share

×
×
  • Create New...