homebridge-google-nest-sdm icon indicating copy to clipboard operation
homebridge-google-nest-sdm copied to clipboard

Add a button to "autofill" Refresh Token

Open potmat opened this issue 3 years ago • 3 comments

The process of getting the refresh token is difficult and error prone, especially for people who are not computer savvy (e.g. using a "curl" command). It should be possible to have a button in the config UI that will open the authentication screen and get the value.

potmat avatar Jan 28 '22 18:01 potmat

Can you not potentially use the Terminal in Homebridge UI?

krehman avatar Apr 07 '22 22:04 krehman

yes i'm blocked at this point , i have all my code but curl is a mystery for me and i try but don't work ..

Daxulan avatar May 30 '22 12:05 Daxulan

I did this process a while back so don't really recall off the top of my head, but anywhere in the instructions, e.g. Use the API, it asked to use the curl command, I just opened up the Terminal from the Homebridge-UI under the menu and inputted the command.

image

krehman avatar May 30 '22 17:05 krehman