Why is there/what is the reason for a new SIGNED_I...
# help
s
Why is there/what is the reason for a new SIGNED_IN event whenever you switch back and forth between tabs?
n
Hello @stieludv! This thread has been automatically created from your message in #843999948717555735 a few seconds ago. We have already mentioned the @User so that they can see your message and help you as soon as possible! Want to unsubscribe from this thread? Right-click the thread in Discord (or use the ``...`` menu) and select "Leave Thread" to unsubscribe from future updates. Want to change the title? Use the ``/title`` command! We have solved your problem? Click the button below to archive it.
g
This is a side effect of a fix they made to gotrue.js to handle refreshing the token when coming back from background tab where it might not run. I mentioned this in the pull request was something that might cause issues or confusion as the code generates the signin whether the token needed refreshing or not. The pull request: https://github.com/supabase/gotrue-js/pull/278#issuecomment-1121825720 You might add to this bug report if interested. https://github.com/supabase/gotrue-js/issues/284
n
stieludv (2022-05-16)
s
Interesting
Thanks for taking the time to answer my question!