We are trying to do user authentication by using re-direct URI as mentioned in
We have registered re-direct URI with URL that is listening for Nest data on our cloud infra .
While our server is receiving the below data from Nest
.GET /?state=SOMESTATE&code=3UL4MGY97LKGYTQU HTTP/1.0
User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 10_2 like Mac OS X) AppleWebKit/602.3.12 (KHTML, like Gecko) Mobile/14C92
Accept-Encoding: gzip, deflate
How can our server decide which is client id (or user account) to which this code can be passed ?
Code here refers to code=3UL4MGY97LKGYTQU in above http dump
Will the Nest server send Nest user credentials ? If not how can the server decide to which client it should pass the code
Please clarify how re-direct URI works with mobile app . How will PIN code be passed to application using re-direct URI