fixed authentication in Linux, showing Timeline now
This commit is contained in:
parent
f58281adc3
commit
b138887371
8 changed files with 196 additions and 85 deletions
|
@ -103,6 +103,7 @@ function(HostApp, Paths, Hmac) {
|
|||
|
||||
Oauth.prototype.requestAccessToken = function(responseBody) {
|
||||
// /oauthtoken?code=51d0115b04d1ed94001dde751c5b360f&state=aQfH1VEohYsQr86qqyv
|
||||
|
||||
var urlVars = Paths.getUrlVars(responseBody);
|
||||
if(this.state && this.state != "" && urlVars["state"] == this.state) {
|
||||
|
||||
|
@ -145,6 +146,7 @@ function(HostApp, Paths, Hmac) {
|
|||
HostApp.setStringForKey(access["token_type"], "user_token_type");
|
||||
|
||||
HostApp.loggedIn();
|
||||
console.log("D")
|
||||
}
|
||||
|
||||
Oauth.prototype.logout = function() {
|
||||
|
|
Reference in a new issue