My problem is this, I want to authenticate and on the endpoint I have a re-direct. The issue was using chrome.identity.launchWebAuthFlow() . And it works correctly for me, the problem is that it doesn't work with the Opera browser, for example. (Having support...) But if you open a window. Something like this... chrome.tabs.create({url : authUrl});
The question here opens a new window. And the question that opens a pop-up window something that I can manipulate later.
Because after I redirect it I have to grab that token and send it to the extension. And close that popup.
And I don't know how to do it. Already the API of chrome. chrome.identity.launchWebAuthFlow() does it all by itself.
The question is how can I do it without using that.