Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Refresh Token need to comment out hard-coded ClientID #2

Open
jtmoderate876 opened this issue Dec 20, 2016 · 0 comments
Open

In Refresh Token need to comment out hard-coded ClientID #2

jtmoderate876 opened this issue Dec 20, 2016 · 0 comments

Comments

@jtmoderate876
Copy link

Change from this:
context.global.Ecobee.ClientID="Dwj6OVodRdo74XMVJEXvsgAw58OA9Uof";
//context.global.EcobeeRefreshToken="";
var newMsg ={
"url":"https://api.ecobee.com/token?grant_type=refresh_token&code="+context.global.Ecobee.refresh_token+"&client_id="+context.global.Ecobee.ClientID+"",
"method": "POST",
headers: {
}
};
return newMsg;

To this first line:
//context.global.Ecobee.ClientID="Dwj6OVodRdo74XMVJEXvsgAw58OA9Uof";
//context.global.EcobeeRefreshToken="";
var newMsg ={
"url":"https://api.ecobee.com/token?grant_type=refresh_token&code="+context.global.Ecobee.refresh_token+"&client_id="+context.global.Ecobee.ClientID+"",
"method": "POST",
headers: {
}
};
return newMsg;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant