3

I am trying to find my Chrome extension's App ID so that I can get User Authentication. I have installed my extension and when I go to chrome://extensions/ I can see the ID:

However, in the Developer's Dashboard, the url is showing a different App ID: enter image description here

I know that I somehow have to sync them so that they are the same. The Google tutorial for getting user authentication says that I should go to the user data directory to find my installed extension and copy the key from the manifest there to the manifest in my source directory. However, I can't find my extension in the user data directory under google-chrome/Default/Extensions.

1 Answer 1

4

your manifest will always be at: chrome-extension://myId/manifest.json

When you create an extension on the store, Google will pick a random id and assign it to your extension.

When you install an extension(from your computer to your computer) to chrome, your computer will assign it an id.

Only once in a billion lifetimes will those two be the same.

always use the id you see in the chrome://extensions page to find the manifest.

5
  • Had no idea I could access the manifest through a link in my browser. Thanks!
    – abaratham
    Oct 5, 2015 at 1:43
  • no problem. you can access the whole extension directory though the url. chrome-extension://myId/folder_inside_extension/file.js or png or whatever! Oct 5, 2015 at 2:04
  • option pages, popups(such as those in the top right corner), and all else are actually simply windows to those urls. Oct 5, 2015 at 2:06
  • Ah, I see. So does that mean that this directory is not actually stored locally at all? (Apart from the source directory)
    – abaratham
    Oct 5, 2015 at 2:07
  • 1
    yes, it is stored locally. for example, you can access any file on your computer using a file:// url. chrome-extension:// is simply a shortcut that refers to the location where chrome stores the extension files (and allows file-to-file access within the directory). Oct 5, 2015 at 14:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.