08-25-2023 05:06 PM
I am writing a Python script to access my nest thermostat. I am able to generate a token this way:
Answered! Go to the Recommended Answer.
08-30-2023 09:31 AM
Can you please clarify if the Authorization Field in the print access token section should contain the char "f" before the bearer ?Also, can you share the http protocol request (header and data payload) ?
These information will help us in debugging the issue faster.
08-30-2023 09:31 AM
Can you please clarify if the Authorization Field in the print access token section should contain the char "f" before the bearer ?Also, can you share the http protocol request (header and data payload) ?
These information will help us in debugging the issue faster.
08-30-2023 10:09 AM - edited 08-30-2023 10:25 AM
08-30-2023 10:15 AM - edited 08-30-2023 10:29 AM
So my real question is what roles should I assign to the service account so it has access to the project?
I am using:
I assume if the request was not authorized I could get a 404 return code. I have had this working with a user based generated token. I am moving to a service account becuase this is going into a Raspberry PI making continuous interval GETS on Nest Temperature. Refresh Tokens have a shelf life and will eventually expire. So that is why I am using a service account