Hello! I’m trying to use the User-Agent Flow OAuth to connect to an API, unfortunately the API I’m trying to use (ecobee smart thermostats) doesn’t have a user profile endpoint. I’ve managed a workaround where I instead direct the User profile endpoint to a ‘/thermostatSummary’ endpoint, which provides the following JSON response:
"thermostatCount": 1,
"revisionList": [
"blankingthisdataforprivacy"
],
"statusList": [
"311064120233:"
],
"status": {
"code": 0,
"message": ""
}
Obviously, this isn’t a user Id or an email, but it works. Honestly I’m not really sure exactly what the User profile endpoint in the connector is for, and so I’m not sure if this ‘solution’ is going to break down when there are multiple users. Does the User ID key value have to be unique? Any information/advice would be appreciated, thanks.