Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/SupabaseClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,6 +316,7 @@ export default class SupabaseClient<
persistSession,
detectSessionInUrl,
storage,
userStorage,
storageKey,
flowType,
lock,
Expand All @@ -336,6 +337,7 @@ export default class SupabaseClient<
persistSession,
detectSessionInUrl,
storage,
userStorage,
flowType,
lock,
debug,
Expand Down
8 changes: 8 additions & 0 deletions src/lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,14 @@ export type SupabaseClientOptions<SchemaName> = {
* A storage provider. Used to store the logged-in session.
*/
storage?: SupabaseAuthClientOptions['storage']
/**
* A storage provider to store the user profile separately from the session.
* Useful when you need to store the session information in cookies,
* without bloating the data with the redundant user object.
*
* @experimental
*/
userStorage?: SupabaseAuthClientOptions['userStorage']
/**
* OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications.
*/
Expand Down
Loading