Closed mbierman closed 2 years ago
@mbierman - thanks for the suggestion - I'm not sure it really adds to the clarity. In the original docs, it shows an example response:
{"2fa_state":"not_enrolled","access_token":"XXX","email":"...","expires_in":"...", ...}
Then it says use the XXX. This is very similar to your example, except you've used "Use This One" instead of the "XXX". I think in both examples it's clear that the token you use is the one immediately after the 2fa_state: non_enrolled part.
Open to being convinced otherwise! :-)
I would respectfully disagree. The example provided is:
which only shows the first access_token. I'm suggesting you show a bit more and highlight (in whatever way you like) that the first one is the right one.
@mbierman - I always appreciate respectful disagreement! I will take another look.
@mbierman - I have improved the documentation for this in 4.6.7. Feel free to re-open if you feel it's still unclear.
First and foremost, thanks for all you do. 👍🏻
Instructions for nest accounts talks about grabbing the
access_token
. In the response fromhttps://home.nest.com/session
there are actually two access_tokens. I suggest describing which one to grab. One works, one doesn't. :)I was having trouble with my nests so I thought i would go grab a new token and of course, grabbed the wrong one initially. After some debugging I found the problem and all is good now. Example response: