xyntherys
xyntherys
WWasp-lang
Created by xyntherys on 11/9/2024 in #đŸ™‹questions
Manually deleted all Sessions for an user from DB. Unable to login with Google (login-logout loop)
@miho here are the steps to reproduce: 1. Keep the user logged in (used Google sign-in as AuthProvider) 2. Delete all the sessions of the user from DB 3. The user gets logged out. 4. If the user tries Google sign-in again, there is a login-logout loop. For a split second the user gets logged-in and then auto log out (/me failing) I found this for Google Auth users only. Just to share: I made the user clear all site data and he was unable to login later.
23 replies
WWasp-lang
Created by xyntherys on 11/9/2024 in #đŸ™‹questions
Manually deleted all Sessions for an user from DB. Unable to login with Google (login-logout loop)
I'm pretty new to this and building the MVP for an idea. Sorry for the stupid questions
23 replies
WWasp-lang
Created by xyntherys on 11/9/2024 in #đŸ™‹questions
Manually deleted all Sessions for an user from DB. Unable to login with Google (login-logout loop)
@Adam, I recreated the issue using a test user. Did hard refresh but it did not help with the issue.
23 replies
WWasp-lang
Created by xyntherys on 11/9/2024 in #đŸ™‹questions
Manually deleted all Sessions for an user from DB. Unable to login with Google (login-logout loop)
@kapa.ai is there any alternative solution to this? Any DB modification I can make to fix the issue?
23 replies
WWasp-lang
Created by xyntherys on 11/9/2024 in #đŸ™‹questions
Manually deleted all Sessions for an user from DB. Unable to login with Google (login-logout loop)
@kapa.ai how do I delete the localStorage values of the user and which elements? Maybe I can hard code a method to clear localStorage once when the user logs in on login hook?
23 replies