Bosch Hobb Setup fails because of API-Error

Hello,

I try to add my Bosch Induction-Hobb but it fails during Setup.
I added it in the Mobile-App → Everything is ok
I created a developer-Account as described here:

with success.
The Device was discovered by HA, so I clicked “add” and got asked for the Credentials from the developer-Account. I copied them from there an got to the Page:
https://api.home-connect.com/security/oauth/authorize?response_type=code&client_id=60
where I get the Error-Message:

{
  "error": "unauthorized_client",
  "error_description": "client or redirection URI not authorized",
  "state": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJmbG93X2lkIjoiMDFLOEdNQzVTWUFE"
}

Has anybody an Idea what I did wrong?

Have you checked you correctly entered the redirect URI as https://my.home-assistant.io/redirect/oauth? And if you go to https://my.home-assistant.io/ does it show the expected link to your HA instance, and have you clicked it to see it opens as expected? And do it in an incognito window to ensure you don’t have it blocked by something (eg. behind Cloudflare asking for an email address).

Thanks for your Answer.

I just checked the redirect and it is:
https://my.home-assistant.io/redirect/oaut
(I copied it from there)

Next, the Address https://my.home-assistant.io/ shows me http://homeassistant.local:8123
When I enter this in a Browser-Window I get to my HA-Login-Screen. This works in a “normal” Browser-Window as well as in a private Window.
One Difference: In a normal Window it is a Link which I can click on to go to the HA-Login-Page. In a private Browser Window, it is just a Text, not a Link to click.

Seems reasonable then. It might be worth trying the IP address rather than http://homeassistant.local:8123/ in case something weird is happening with your mDNS. Bit of a long shot though given it’s working in the browser.

I tried that, but the Error-Message is still the same.
Now I see at https://my.home-assistant.io/ this link (which works, when I click on it): http://192.168.178.20:8123

When I now open a private-Window, it still says http://homeassistant.local:8123