Qvatra
Qvatra

Reputation: 3857

getAuthToken doesn't work in chrome app

In my packaged app I call

chrome.identity.getAuthToken({'interactive': true }, function (token) {
    console.log('user token: ' + token);
});

but every time i enter with different google accounts it produces the same token. What could possibly go wrong here?

Upvotes: 0

Views: 257

Answers (1)

abraham
abraham

Reputation: 47883

Chrome app identities are tied to the Google account signed into Chrome. You can change the current signed in account in Chrome settings, but I recommend you create a new Chrome profile instead.

Upvotes: 1

Related Questions