-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use this within a Chrome extension? #77
Comments
Chrome Extension allows you to do that without using this library. This is what we used successfully. More details here: https://developer.chrome.com/apps/tut_oauth |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We have a Chrome extension that adds an IFrame on some specific pages to enhance the webpage functionnalities.
To notify the Extension that something new happened, the redirect URL HAS to be something like
https://[LONG_ID].chromiumapp.org
whereLONG_ID
is the ID of the Chrome Extension in the store.Gotcha: This URL can be pinged ONLY in the context of the Chrome Extension. To give you an example,
Chrome.identity.launchWebAuthFlow
(https://developer.chrome.com/apps/identity#method-launchWebAuthFlow) implement the OAuth exchange in a popup, redirecting works properly but they do not do any caching (that's why I'm looking after JSO).Do you have any idea how we could achieve the matter?
Thanks.
The text was updated successfully, but these errors were encountered: