I just started playing with the Nest API and don't understand why the OAuth2 server is not redirecting the response to my redirecturi.
An example of my authentication attempt:
https://home.nest.com/login/oauth2?client_id={ClientId}&redirect_uri=http://localhost&state=STATE
I can authenticate and get the PIN back, but ideally this is the answer sent back to me and processed dynamically in my application.
source
share