potmat / homebridge-google-nest-sdm

A Homebridge plugin for Google Nest devices that uses the Google Smart Device Management API. Supports Cameras, Doorbells, Displays, and Thermostats. Includes support for HomeKit Secure Video.
ISC License
134 stars 15 forks source link

Google "Cannot Connect to Homebridge" Error #103

Closed DMontgomery40 closed 5 months ago

DMontgomery40 commented 9 months ago

Issue Description

While attempting to get the access token, I was stopped at the step involving the following URL: ``` https://nestservices.google.com/partnerconnections/project-id/auth?redirect_uri=https://www.google.com&access_type=offline&prompt=consent&client_id=oauth2-client-id&response_type=code&scope=https://www.googleapis.com/auth/sdm.service ``` An error occurred that prevented me from proceeding. Screenshot attached, but basically Google saying they can't talk to Homebridge. Not an issue with your setup (I don't think?), but figured others will run into it as well.

Environment

Steps to Reproduce

  1. Navigate to the Nest Services Google authentication URL.
  2. Follow the prompts for authentication.
  3. Reached the step right before attempting to get the access token.
Screenshot 2023-10-05 at 1 02 04 AM

Expected Behavior

The authentication process should complete successfully, allowing me to proceed to next step, where I could curl to get the access token.

Actual Behavior

(Authentication fails/Error message appears/etc.)

martijndhondt commented 9 months ago

@DMontgomery40 I have the same issue edit: found out i have existing connections via https://nestservices.google.com/partnerconnections and removed it

potmat commented 5 months ago

Closing due to lack of activity.