iMicknl / ha-nest-protect

Nest Protect integration for Home Assistant. This will allow you to integrate your smoke, heat, co and occupancy status real-time in HA.
MIT License
333 stars 62 forks source link

Fout 400: redirect_uri_mismatch #298

Closed PCR-2020 closed 8 months ago

PCR-2020 commented 8 months ago

The problem

Could be caused by the being part of the advanced protection program by Google (2 FA with physical key).

Something is wrong with: redirect_uri=https://my.home-assistant.io/redirect/oauth

Documentation reference: https://developers.google.com/identity/protocols/oauth2/web-server#authorization-errors-redirect-uri-mismatch

What version of this integration (ha-nest-protect) has the issue?

0.3.12

What version of Home Assistant Core has the issue?

2024.1.3

Device / Model

N.a.

Diagnostics information

See description

Home Assistant log

Logs ``` Copy/paste any log here, between the starting and ending backticks (`) ```

Additional information

No response

jasiegma commented 8 months ago

I am facing the same issue. Fehler 400: invalid_request The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method. Anfragedetails: redirect_uri=urn:ietf:wg:oauth:2.0:oob

D3ezy commented 8 months ago

I am also having this issue. Running HACS 1.33.0 and HAOS Core 2024.1.3. Trying to authorize my Google Account via Chrome.

The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Request details: redirect_uri=urn:ietf:wg:oauth:2.0:oob
iMicknl commented 8 months ago

Duplicate of #105 (pinned issue). TLDR: use the beta.