Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RedirectURI stopped working #988

Open
highlysceptical opened this issue Feb 6, 2023 · 1 comment
Open

RedirectURI stopped working #988

highlysceptical opened this issue Feb 6, 2023 · 1 comment

Comments

@highlysceptical
Copy link

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
Copy link
Author

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant