You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have an app that serves as a dashboard to open other apps in separate browser tabs, and those apps that we open use your library. As soon as they complete auth, the new window closes itself.
I can see this is happening because the code linked below closes the current window if it thinks it's a popup.
For us, we are opening the app that uses your library, so even though they are not doing the auth in a popup, your app thinks it's a popup and closes the window. Would it be possible for you to try to identify if the auth was done in a popup in a more specific way, like with a particular window name that matches the config, or something else?
Due of this behavior, we are not able to name the windows we open, which means if someone clicks on our links more than once they open a bunch of duplicate windows, when we could send them to the existing one if we could used named windows.
Thanks for your consideration.
The text was updated successfully, but these errors were encountered:
Hello,
We have an app that serves as a dashboard to open other apps in separate browser tabs, and those apps that we open use your library. As soon as they complete auth, the new window closes itself.
I can see this is happening because the code linked below closes the current window if it thinks it's a popup.
client-js/src/smart.ts
Line 508 in 8f64b77
The problem for us is that you are determining if it's a popup based on if it's the top window, opened by another window, and it is a named window.
client-js/src/smart.ts
Line 415 in 8f64b77
For us, we are opening the app that uses your library, so even though they are not doing the auth in a popup, your app thinks it's a popup and closes the window. Would it be possible for you to try to identify if the auth was done in a popup in a more specific way, like with a particular window name that matches the config, or something else?
Due of this behavior, we are not able to name the windows we open, which means if someone clicks on our links more than once they open a bunch of duplicate windows, when we could send them to the existing one if we could used named windows.
Thanks for your consideration.
The text was updated successfully, but these errors were encountered: