Troubleshoot Chrome forwarding issues due to different extension identifiers

I use the oauth provider with the chrome extension, and they can provide me with only one client identifier. Their uri redirection should be the same between my Chrome app, Android app and iOS app. However, the instructions in the Chrome hardware documentation say that my redirect URL should be something like "https: // '+ extension_id +'. Chromiumapp.org/provider_cb.

My chrome extension, Android app and ios app have different extension identifiers.

Is there a way to force my chrome extensions and Android and Android iOS apps to use the same extension id?

+3
source share
1 answer

If you have keyone defined in your file manifest.json, it will be used to generate your extension identifier.

Link: http://developer.chrome.com/apps/manifest/key.html

There is currently no way to force a specific identifier to be set without this key, and there is definitely no way to get the key from the ID: it is obtained from the SHA-256 key hash.

However, if you can get your key from your CRX file, you can put it in your manifest, and ccawill use it to generate an extension identifier for your Android and iOS applications.

+3
source

All Articles