I am having trouble getting access tokena for Nest.
I have the nest-api working on my node.js app, but I am having trouble getting access tokens.
It doesn't matter if I connect from different clients, devices or even accounts.
I used to have php code that automated the oAuth 2.0 process of getting the token and it was working fine, but it stopped working.
It doesn't matter if I put the "OAuth Redirect URL" to get the token automatically or simply try to get it without the URL, I always get this error:
An error occurred. An error occurred while fetching client info
and that's all, no logs entries or anything, just that non-descriptive message.
For example if I create a new account and then I add a client to this account, I get a URL where I can retrieve an access token for the user account that wants to control its nest products from my client -- the URL looks like this:
https://home.testc.nestlabs.com/login/oauth2?client_id=XXXXX&state=STATE
When you enter this URL it should ask for your Nest credentials and then generate an access token. This was working fine doing the exact same steps, but now it doesn't even ask for the credentials, all I get is that message and nothing else.