Avoid browser popup blockers

I’m developing an OAuth authentication flow purely in JavaScript and I want to show the user the “grant access” window in a popup, but it gets blocked.

How can I prevent pop up windows created by either window.open or window.showModalDialog from being blocked by the different browsers’ pop-up blockers?

11 Answers
11

Leave a Comment