In my spare time, I recently started to develop an AngularJS WebApp with node.js and MongoDB. The app accesses the user’s Facebook events, therefore it utilizes the Facebook Authorization pop-up. It worked fine on my friends MacBook but I had problems because the pop-up was closed before I could click anything. After some trial-and-error, I found out that the problems disappeared when I stopped Kaspersky Internet Security.
Obviously, this is not a good solution at all. So I made my way to the Kaspersky settings and found the right setting which disabled my Facebook API authorization. You can see it here: