quickstart-js icon indicating copy to clipboard operation
quickstart-js copied to clipboard

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

Open nalbion opened this issue 6 years ago • 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

nalbion avatar Oct 09 '19 04:10 nalbion

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 avatar Dec 12 '19 20:12 jhuleatt

@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

ashking avatar May 22 '20 01:05 ashking

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.

ashking avatar May 23 '20 00:05 ashking

Annoying.. isn't it?

on the bottom left you can see this

[image: image.png] image

Click on show more and then click on Opt-out

image

Hope this helps!

Ashwin

On Tue, Jul 28, 2020 at 8:54 AM Fernão Guerra [email protected] wrote:

Hi @ashking https://github.com/ashking, I have the same problem here. I am new to this. How do you switch to the old dashboard? I can not find the public key.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/firebase/quickstart-js/issues/376#issuecomment-664753744, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASWHDLE27UD7TTPATM5FDTR5ZAHBANCNFSM4I62DMAQ .

ashking avatar Jul 29 '20 07:07 ashking

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.

wallawe avatar Aug 20 '20 14:08 wallawe

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!

jhuleatt avatar Aug 20 '20 22:08 jhuleatt

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.

jhuleatt avatar Aug 21 '20 16:08 jhuleatt

Awesome, thanks for following up @jhuleatt

wallawe avatar Aug 21 '20 17:08 wallawe

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?

cristobalchao avatar Feb 17 '21 11:02 cristobalchao

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

TrySpace avatar Dec 10 '21 13:12 TrySpace

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

AmySteam avatar Jan 27 '22 16:01 AmySteam

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

chrome.runtime.getManifest().key

deryilz avatar Nov 15 '22 15:11 deryilz