Thanks to a great community contribution, this library also supports logging the user in via a popup. For this, you need to do two things:
initLoginFlowInPopup instead of initLoginFlow.silent-refresh.html as described here *.* Please note this does not mean that you have to use silent refresh too.
Also, for your silent-refresh.html, make sure you are also targeting
window.opener and fall back to window.parent:
Please note: IE sets opener to null under specific security settings. This prevents making this work.