Authentication error: "Invalid client id or redirect uri"

I’ve probably mistaken the correct forum to post that: Invalid client id or redirect uri

Unfortunately I still have to find a solution to this problem, which I don’t know if it’s a bug or not.
I tried reinstalling Home Assistant & iOS app several times; I reset all the python3.7 virtual environment; I tried installing different HA versions.
I got a couple of answers on Discord channel but found it not very responsive to questions outside the topic that is going on in the chat.

The only thing that worked was to downgrade iOS app to v1.1.1, which I guess has a different type of authentication method.
Current v1.5.1 and beta v2.0 give this problem to me, on different devices.

This was all working fine for me until updating to the latest build yesterday.

Now im getting that error, not sure what could have changed to make this error occur.

The docs list this for that error:
https://companion.home-assistant.io/en/troubleshooting/errors
(Just in case you have not seen it)

the only solution I found to the problem was a complete reset of Raspbian on the Raspberry Pi (upgrading to Buster from Stretch).

Same Issue.

It is asking me for the url then says it is opening a webpage to authenticate. When that happens I get a page that says invalid client ID or redirect. I get this weather choosing Legacy or Home Assistant Local. I can’t get past this page. I am at the house so it is not an external issue.

This started just a bit ago when the app auto updated.

Seeing this error now in the log.
ERROR (MainThread) [homeassistant.components.auth.indieauth] OS error while looking up redirect_uri https://home-assistant.io/iOS: Cannot assign requested address

However I am able to ping that address from the box and even do a curl to the address with no issues. I loaded up python and had it use requests.get to that address as well to see if maybe there was a python issue but that came back ok as well.

I also tried adding the default_config: to my ha config file as suggested in https://companion.home-assistant.io/en/troubleshooting/errors

but no luck.