Currently, the only way to set the storageKey is using options.cookieOptions.name. However, for people working with both libraries, this can come confusing, although targeting the same thing in the end.
So I'm asking to have options.auth.storageKey support in this library officially.
Chore
Describe the chore
Currently, the only way to set the
storageKey
is usingoptions.cookieOptions.name
. However, for people working with both libraries, this can come confusing, although targeting the same thing in the end.So I'm asking to have
options.auth.storageKey
support in this library officially.Additional context
Current version: https://github.com/supabase/ssr/blob/main/src/createBrowserClient.ts#L147-L148