Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to update to new supabase-js version for a bug fix #442

Closed
onurusluca opened this issue Dec 15, 2024 · 5 comments
Closed

Need to update to new supabase-js version for a bug fix #442

onurusluca opened this issue Dec 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@onurusluca
Copy link
Contributor

onurusluca commented Dec 15, 2024

Hi sorry for not opening a PR as I don't know the procedure when updating packages.

With the 1.4.4 that uses an older supabase-js version, user gets logged out automatically. This bug is fixed with the new authjs version which was merged to supabase-js two days ago.

Need a quick version update on supabase-js package to:
https://github.com/supabase/supabase-js/releases/tag/v2.47.7

Because of this bug:
supabase/auth-js#995

For this fix:
supabase/auth-js#999

@onurusluca onurusluca added the bug Something isn't working label Dec 15, 2024
@urbansky
Copy link

urbansky commented Dec 15, 2024

I've the same issue and i thought the Server-Side-Rendering is broken. But the supabase-package is broken. Thanks!
The solution are in the comments of the supabase-package.

Use 'overrides' in your package.json to use the new version:

"overrides": { "@supabase/auth-js": "2.66.1" },

The new version 2.67.1 is also OK

see supabase/auth-js#995 (comment)

@onurusluca
Copy link
Contributor Author

I've the same issue and i thought the Server-Side-Rendering is broken. But the supabase-package is broken. Thanks! The solution are in the comments of the supabase-package.

Use 'overrides' in your package.json to use the new version:

"overrides": { "@supabase/auth-js": "2.66.1" },

The new version 2.67.1 is also OK

see supabase/auth-js#995 (comment)

Yeah exactly. Currently using overrides as well but the package needs to be updated anyways.

@paranoidPhantom
Copy link

Also having my sb-db-auth-token cookie wiped on page refresh...

@larbish
Copy link
Collaborator

larbish commented Dec 18, 2024

I've updated supabase/supabase-js to latest. Can you confirm it's fixed in 1.4.5 ?

@urbansky
Copy link

I've updated supabase/supabase-js to latest. Can you confirm it's fixed in 1.4.5 ?

Yes, it works in my project. Thanks for updating!

@larbish larbish closed this as completed Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants