mtamc / memo

Website for rating books, movies, video games, and TV shows.
0 stars 0 forks source link

Staying logged in(?) for a while breaks website #14

Closed dustinvtran closed 2 years ago

dustinvtran commented 2 years ago

I see this on the homepage sometimes:

2022-01-30 14_27_34

My lists are also no longer editable. Logging out and logging back is a current workaround.

dustinvtran commented 2 years ago

Am seeing this error consistently. Just need to stay logged in for a while and then somehow you lose access and gotta log back in again.

ghost commented 2 years ago

Yeah, I tried a fix earlier but it didn't work (it's difficult to test if the fix worked >_>), I'll keep looking into it

On Mon, 31 Jan 2022 at 07:05, Dustin Tran @.***> wrote:

Am seeing this error consistently. Just need to stay logged in for a while and then somehow you lose access and gotta log back in again.

— Reply to this email directly, view it on GitHub https://github.com/td-memo/memo/issues/14#issuecomment-1025408288, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFEJEZXEJ3OCBYVXNBHGLUYYRDDANCNFSM5NEZZ3SA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>

ghost commented 2 years ago

Next time I get the bug I'll be able to test the netlifyIdentity global object's functions to see which ones refreshes the token. Documentation on this seems a little poor

ghost commented 2 years ago

OK, this should be fixed, but it's difficult to actually test. If the issue occurs again re-open this ticket.

dustinvtran commented 2 years ago

Seems to work for me now! (Curious what the bug was.)