chrome.identity.getAuthToken: proper error documentation

ChromeOS Version 63.0.3239.140 (Official Build) (64-bit)

Hi there,

I got several different errors while using but couldn’t find any (doc) information about the actual meaning of those errors or their solutions. I’m building a new chrome extension.

However, I get a “The user is not signed in.”-error when calling chrome.identity.getAuthToken({interactive: true}) from a browser-action popup context.

Expected behavior:
My code is derivated from which works nicely by showing a Google sign-in page.

I didn’t upload/publish my extension to the Chrome web store as Google requires a registration fee and I don’t own a credit card. This is the only distinction I’m able to discover.


  "manifest_version": 2,

  "name": "Hull",
  "description": "Archives all web requests.",
  "version": "1.0",
  "content_security_policy": "script-src 'self' https://*; object-src 'self'",
  "oauth2": {
    "client_id": "",
    "scopes": [
  "browser_action": {
    "default_popup": "popup.html"
  "permissions": [
  "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAo5fm22ivystD4/Me0vIM/T+9I3CvBY8nb8GacdMADE7Xn6VauUqNUzpeZWZGh4gjj9SpryVGeMWiCBaLvbveqbcTIvx0WF6ltFqJBOcqEaZs9LwYsGf+38PUWuQ6bY9G67AjWuw3A0PB9+ilPC/VYH8gHIoBesu6yE2yOdJ2eUhXzT3+eAnPNhUvpMK+ZFuxCurqpvRXIGVU+xYonWQ6c/cK/oLjHQPBiEjnyg/bsqcg/4rZZA9Ux7GbbfFgWHdRRACR+mWSviEkzI7DDHTcHg6pchLzUhAzoy3LbZGTxrpHp7fcN5PLcVPNrhtS3v6OgALnOBVAVuKXS/vtK8rqvQIDAQAB"


document.querySelector("input").addEventListener("click", () => {
  const result = chrome.identity.getAuthToken({interactive: true}, token => {
        console.log("token", token);

So, where can I find information about any chrome.identity related errors and is uploading/publication necessary to get the identity methods working.

Thanks in advance.

BTW: I read but that site only state that methods throw errors in general and doesn’t list nor explain them in detail.