firebase/quickstart-js

How/where to get extension's Public Key for use in Chrome Extension?

nalbion opened this issue ยท 12 comments

How or where do you get the extension's public key for the manifest?

https://github.com/firebase/quickstart-js/tree/master/auth/chromextension

Instructions for getting the public key are found at the end of the "Creating a dummy Chrome extension (how to obtain a Chrome App ID and Public Key)" section.

@jhuleatt , am not able to find a way to get extension's public key on the google extensions developer portal. Can you help me with that? thanks

Finally, after breaking my head for a day, I realised I was on the new dashboard. The more info is not available on the new dashboard yet. Switch back to old dashboard and you will find it there.

Thanks @ashking. @jhuleatt This took me a couple of hours of googling before I finally found that the new dashboard doesn't have a way of accessing the public ID. I'm not sure of the correct channels but perhaps you could run this up the flagpole as it's a major blocker right now.

Hey @wallawe, I'll ask around internally to see if there is a way to set up Oauth apps in the new dashboard. Thanks @ashking for the workaround!

Turns out the Chrome extensions team is already working on adding a "view public key" link to the new dashboard ๐Ÿ˜ƒ

But for now, going back to the old one is the only way to set up an Oauth app.

I'm watching the internal progress of the work on the new dashboard and will do my best to update the quickstart guide soon after the new "view public key" link launches.

Awesome, thanks for following up @jhuleatt

I am unable to find the public ID and it seems now there is no way to "opt-out". I am using chrome://extensions in the URL, any ideas?

Still can't find the public key via https://chrome.google.com/webstore/devconsole/
no idea how to revert to old UI

@TrySpace These Chrome Web Store docs explain where to find the public key --> Keep a consistent id

Don't know if this helps, but use inspect element for a page on your extension, and type this:

chrome.runtime.getManifest().key