is there a login API for ecobee

There is a challenge in authorizing users from iframe. If we load ecobee login page in iframe and user authorizes the request, we know that page gets redirected to the url we've provided. Since it's loaded in iframe, we could not catch the query params (authorization code) coming from ecobee.
And one more question is do you have any loginapi
1 person has
this question