hmrc / vat-api

Apache License 2.0
66 stars 17 forks source link

RedirectURI stopped working #988

Open highlysceptical opened 1 year ago

highlysceptical commented 1 year ago

My application is installed on the user PC.

Today, when I tried to request a new Access Token, the request failed saying that https://localhost:xxxx is not available. (xxxx was an arbitrary, unused port, which is correctly registered with HMRC).

I have not changed the code, and it has always worked in the past.

Has something changed that would cause my code to fail?

highlysceptical commented 1 year ago

Having pulled my hair out over this for best part of a day, I have registered another endpoint with HMRC, this time an active HTML webpage, and now the code works again.

I am still at a complete loss to understand how my code could have worked for the last 2 years, and then suddenly stopped.

However, if anyone stumbles on this post, I hope my "fix" helps them!