So I am running into an interesting issue and would like some opinions. So I have a chrome extension that I am porting over to a firefox extension. Everything is working perfect besides this stupid issue I am having. Basically, when I initiate launchWebAuthFlow, the oauth2 window pops up like it should, but for some reason in firefox it closes the extension window when the oauth2 popup opens, which completely voids the login process since the extension is closed. On chrome, when the oauth2 page opens the extension window still stays open, but in firefox it closes immediately. It seems to be because in firefox they open the oauth2 page in a completely new firefox window instead of the nice little popup chrome does. Does anyone have any experience with this issue and perhaps have a fix or workaround? I do not really think I need to attach code to this but I will for the lols.
chrome.identity.launchWebAuthFlow(
{ url: auth_url, interactive: true },
function (redirect_url) {