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 02, 2021Copper Contributor
https://stackoverflow.com/questions/70187797/chrome-extension-crashes-on-microsoft-edge-browser-while-calling-launchwebauthfl?noredirect=1#comment124087889_70187797
sobby
Dec 02, 2021Copper Contributor
Please check stack overflow link for the solution
- KristofferPKDec 18, 2021Copper Contributor
sobby Sorry but it's not a solution, it's a workaround and it doesn't even work for me (the workaround returns undefined which means I can't even use it). I also have this issue: https://stackoverflow.com/questions/70286901/edge-extension-crashes-the-whole-browser-on-api-call-after-latest-update-launch
- sobbyDec 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.
- KristofferPKDec 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);