Reputation: 836
I am developing a Chrome App which requires the user to authenticate against a third party website for OAuth (for e.g Twitter).
I want to be able to
I am unable to think of a way to do this? Can someone help.
Upvotes: 1
Views: 346
Reputation: 2785
chrome.browser.openTab with callback URL localhost, where you run a local webserver, I could see being an option.
But I think the simplest and recommended solution would be to use chrome.identity.launchWebAuthFlow. Here is an example with facebook oauth flow on Github
Upvotes: 1