Storage gets cleared everyday with persistant storage using custom storage class (Angular) #1327
Open
2 tasks done
Labels
bug
Something isn't working
Bug report
Describe the bug
We are using Angular SSR alongside supabseJs for authentication. This works fine using cookie storage. However, the next day the users are required to log back in again as the storage is disregarded. This logic works fine if we don't use SSR and just go with the default implementation of supabasejs.
On a similar but unrelated note, setting a custom key also breaks authentication for us, so we use it without a custom key, idk how related that is to the issue, but thought it might be helpful.
To Reproduce
Steps to reproduce the behavior, please provide code snippets or a repository:
create a new angular project, use this service for supabase
initialize by adding this service.
install the package
npm install ngx-cookie-service-ssr
Expected behavior
Users does not get logged out after a day
System information
"@supabase/supabase-js": "^2.46.2",
The text was updated successfully, but these errors were encountered: