Stojan Dimitrovski
Stojan Dimitrovski
Don't worry about the check-conventional-commits errors, I'll fix those before merging.
Closing in favor of: #36662
Too many `/token` requests are indicative of a badly configured Next.js setup. Please provide us with the `middleware.ts` file.
Looks nice at a first glance. Given that WeChat is a huge user base, we're considering adding this. I'll do a proper review soon.
I highly suspect this is not auth-js but rather bad usage in a SSR library.
This is likely due to a bug in your application that refreshes the token in parallel. Please see this doc for more information about such issues: https://supabase.com/docs/guides/auth/sessions#what-is-refresh-token-reuse-detection-and-what-does-it-protect-from
Also be aware that if the user signed out from another device or platform (web) they are signed out from everywhere. You can control this with a parameter.
@crewjam Can we get some eyes on this?
Deploying in supabase/auth as well: https://github.com/supabase/auth/pull/2001
Needs tests but please do an initial review.