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
I am also getting this error pretty often. For us, auth tokens are not persisting between builds or after the app is closed (if on device). Often I am seeing this error before receiving the OPs error:
I am also getting this error. This error occurs because of bad token storage.
In my case, I am developing app for windows named App_1 using supabase, so it store auth token at C:\Users\{USER}\Documents\auth\supabase_authentication.hive. So if I switch to App_2, it will also try to find valid auth token from the same path, that is not valid for this app, that's why the error occurs.
We have shipped an update that will hopefully make things better with this issue. If you could try out v2.5.0 of supabase_flutter and see if things are better, that would be great.
@dshukertjr hello, pasting this also here coz seems related. Wrote also to support. As mentioned, with users being kicked off, we cannot ship our product. Please LMK if/how we can help further with this. It would be also helpful if a workaround could be provided until a final fix is made, we suggested one but anything that lets client recover from login exceptions would be appreciated. #930
Activity
dshukertjr commentedon Aug 9, 2022
Hi @raphache
Thanks for opening an issue. Would you be able to provide some code so that I can reproduce this issue?
cspecter commentedon Sep 8, 2022
I am also getting this error pretty often. For us, auth tokens are not persisting between builds or after the app is closed (if on device). Often I am seeing this error before receiving the OPs error:
Whenever the magic link is used we also see some flavor of this:
flutter: Concurrent modification during iteration: _LinkedHashMap len:14.We are using an email magic link for sign in. I can provide code if needed.
dshukertjr commentedon Sep 28, 2022
Sorry for the late reply here. @cspecter it would be great if you could provide some code for us to be able to reproduce this.
topperspal commentedon Mar 1, 2023
I am also getting this error. This error occurs because of bad token storage.
In my case, I am developing app for windows named App_1 using supabase, so it store auth token at
C:\Users\{USER}\Documents\auth\supabase_authentication.hive. So if I switch to App_2, it will also try to find valid auth token from the same path, that is not valid for this app, that's why the error occurs.dshukertjr commentedon Apr 9, 2024
We have shipped an update that will hopefully make things better with this issue. If you could try out v2.5.0 of supabase_flutter and see if things are better, that would be great.
iosephmagno commentedon Sep 4, 2024
@dshukertjr hello, pasting this also here coz seems related. Wrote also to support. As mentioned, with users being kicked off, we cannot ship our product. Please LMK if/how we can help further with this. It would be also helpful if a workaround could be provided until a final fix is made, we suggested one but anything that lets client recover from login exceptions would be appreciated.
#930
dshukertjr commentedon Feb 10, 2025
I'm closing this issue as numerous fixes to mitigate the error have been shipped since the issue was opened.