supabase / auth-helpers

A collection of framework specific Auth utilities for working with Supabase.
https://supabase.github.io/auth-helpers/
MIT License
892 stars 240 forks source link

Update createBrowserClient.ts to allow for ONE option only instead of… #756

Closed activenode closed 3 months ago

activenode commented 3 months ago

… enforcing cookies

What kind of change does this PR introduce?

It fixes essentially just a TS issue that I was forced to do

cookies: {} as any

to fallback to the original cookie implementation whilst providing e.g. cookieOptions