[Support request] NodeJS Starter Kit – Not working on production setting

Unresolved
1 post

After authorizing the app on fidor website I get back a “Bad Request” in the form of a HTML page (instead of a JSON that the code expects) when trying to fetch the oauth token using the authorizatIon_code :


<HTML><HEAD>
<TITLE>Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.<P>
</BODY>
</HTML>

Did anyone run into this problem before?

When trying to fetch the oauth token via postman with proper headers I just got:


{
  "error": "invalid_request"
}

The exact same setup works perfectly in the sandbox environment.

The production app is properly configured with app / redirect urls and allowed ips.

I’ve tried to make it work both on localhost and hosted application, as well as rewriting the retrieve_access_token_from_code function.

If any additional information would be required to solve this issue, I’d love the info who to contact 🙂

  • This topic was modified 5 months, 1 week ago by  overmorrow.
  • This topic was modified 5 months, 1 week ago by  overmorrow.
  • This topic was modified 5 months, 1 week ago by  overmorrow.

You must be logged in to reply in this thread.