passport-facebook /callback opens new tab in safari instead of using current tab
I use passport-faceebook in nestjs application and have a controller in it with /callback route.
After I doing some authenticating stuff I call redirect to client home page. Google-strategy do everything in the same tab (safari and chrome). But Facebook-strategy leave two tabs after authenticating. I expect only home page tab and not need auth page to be left.
In chrome facebook-strategy redirects in one tab as expected.
This behavior only in safari.
All browsers were updated up to last versions.