Plugin Support
Robert
(@robertnextendweb)
Hi @confusedneedhelp
I am not that familiar with bfcache, but according to the notice you see, the problem is that this caching cannot happen because there was a BroadcastChannel instance with listeners registered. We use this BroadcastChannel to keep the connection between the opener window, and the opened window whenever the opener window data is not available. This is important, because otherwise after the authentication and authorization with the provider, the popup would not close, and instead the login and redirect would happen there, so with this BroadcastChannel we can keep the information between the opener and opened window and close the popup and redirect in the opener window, as you would expect.
For now I have updated our code, and with the modification the problem no longer occurred. You can download it from here:
https://www.dropbox.com/scl/fi/qjpvap6mo00r4wftwuavz/nextend-social-login-feature-NSLDEV-649-bfcache-cannot-work-because-of-broadcastchannel.zip?rlkey=mggie9mk6tevzx7896tlomjtg&st=089gqipf&dl=1
To install this, make sure to delete your previous version of Nextend Social Login (your plugin settings won’t be affected), and then install the one above:
https://nextendweb.com/nextend-social-login-docs/installation-guide/
Currently our senior developer who reviews code changes is out of the office, and won’t be available till Friday, but if everything works fine for you, then we will review the code, and add it to future releases.
Thanks very much for the quick response.
I have uploaded the new plugin and it seems to be working now. I will keep monitoring it and let you know if the problem reoccurs.
Really appreciated.
Plugin Support
Laszlo
(@laszloszalvak)
Hi @confusedneedhelp
I just wanted to let you know that, the solution that Robert proposed has been approved, and will be included in the next release of Nextend Social Login.
So once a new version is released, feel free to update our plugin, you won’t lose these changes.
Best regards,
Laszlo.
Hi,
Would it be possible to add the update to dropbox again. It seems to have been removed.
Many thanks,
Plugin Support
Robert
(@robertnextendweb)
Thanks, much appreciated.