Why not the Nest Oauth Redirect API?

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.

+4
source share
1 answer

Nevermind - I figured out how it can redirect my local host. Unfortunately,

Thanks for the comment David - I found redirectURI on my clients page now ... should have missed this before.

+1
source

Source: https://habr.com/ru/post/1547074/


All Articles