Forum Discussion
diridev
Oct 30, 2021Copper Contributor
Edge Stable crashing on extension function chrome.identity.launchWebAuthFlow
I've developed an Edge extension which allows users to login with their Google account. I use the https://developer.chrome.com/docs/extensions/reference/identity/#method-launchWebAuthFlow function fo...
sobby
Dec 18, 2021Copper Contributor
Hi, I agree it's not a solution it is just a workaround but Can you please share some code why it is returning undefined.
KristofferPK
Dec 18, 2021Copper Contributor
sobby Sorry didn't notice you asked for code! 😄
const arguments = ''; // Hidden due to privacy
const authURL = 'https://login.microsoftonline.com/common/oauth2/authorize' + arguments;
const res = chrome.windows.create({
focused: true,
height : 800,
width: 800,
url: authURL
});
console.log(res);
- KristofferPKDec 18, 2021Copper Contributoryeah you are very helpful.
- diridevDec 18, 2021Copper ContributorAbsolutely not.
This thread is about the launchWebAuthFlow function crashing the browser. - KristofferPKDec 18, 2021Copper ContributorIt's directly related to the original problem.
- diridevDec 18, 2021Copper Contributor
KristofferPK sobby Please keep replies to this question related to the original problem.
Otherwise people subscribed to the thread are receiveing emails for replies they don't care about.
Move questions related to the workaround to one of the stackoverflow threads.
Thanks