What happens after the Nest access token expires?

2019-06-25 06:23发布

Question says it all. I couldn't find anywhere in the API that states what happens when it expires. Do you have to open that "Works with Nest" webpage again and get a new authorization code? Or, using the same authorization code, just get a new token? And how will Nest indicate the token has expired?

标签: rest nest-api
1条回答
小情绪 Triste *
2楼-- · 2019-06-25 07:18

Expiration date comes back in the OAuth response and is set to 10 years in the future, which is practically forever. That gives Nest quite a few years to come up with a refresh or expiration story.

查看更多
登录 后发表回答