--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/bd6a62b1-4079-4beb-8203-953138a5a340%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
You need to either have a server that you redirect requests to that then can send a response back to your extension, or you can use https://developer.chrome.com/extensions/identity APIs
On Mon, Dec 8, 2014 at 10:15 AM, Chris Drane <csd...@gmail.com> wrote:
I am writing a browser extension that will use the Gmail API. In order to do so, Google requires authentication via oauth2.However, I'm experiencing a problem with my javascript origin. Google only accepts values as valid if they are using the HTTP or HTTPS protocol, but according to my oauth error message, the actual origin actually is chrome-extension://<extension id>. Google will not let me submit this as my origin.What can I do here?Thanks,Chris
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/60fc3e3c-24fa-4a27-b7e5-8f401e204842%40chromium.org.
Play with the API. You don't need an origin to get a Google generated access token.
On Mon, Dec 8, 2014 at 10:31 AM, Chris Drane <csd...@gmail.com> wrote:
Thanks. What would I use for origin if using chrome.identity?
On Monday, December 8, 2014 1:25:35 PM UTC-5, Dick Hardt wrote:
You need to either have a server that you redirect requests to that then can send a response back to your extension, or you can use https://developer.chrome.com/extensions/identity APIs
On Mon, Dec 8, 2014 at 10:15 AM, Chris Drane <csd...@gmail.com> wrote:
I am writing a browser extension that will use the Gmail API. In order to do so, Google requires authentication via oauth2.However, I'm experiencing a problem with my javascript origin. Google only accepts values as valid if they are using the HTTP or HTTPS protocol, but according to my oauth error message, the actual origin actually is chrome-extension://<extension id>. Google will not let me submit this as my origin.What can I do here?Thanks,Chris
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/bd6a62b1-4079-4beb-8203-953138a5a340%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/d/optout.
--
You received this message because you are subscribed to the Google Groups "Chromium-extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.