Closed rphlmr closed 2 years ago
Should fix https://github.com/mitchelvanbever/remix-auth-supabase/issues/15
With some OAuth provider, we hit the 4kb cookie size limit due to huge Supabase Session datas.
I propose to sanitize what I think is useless data. (session.user?.identities ==> list off all supabase identites linked to the user, I guess)
Open to discuss :p
Can be replaced by https://github.com/mitchelvanbever/remix-auth-supabase/pull/20
Closing in favor of #20
Should fix https://github.com/mitchelvanbever/remix-auth-supabase/issues/15
With some OAuth provider, we hit the 4kb cookie size limit due to huge Supabase Session datas.
I propose to sanitize what I think is useless data. (session.user?.identities ==> list off all supabase identites linked to the user, I guess)
Open to discuss :p