File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -268,6 +268,8 @@ export default class SupabaseClient {
268
268
localStorage,
269
269
headers,
270
270
fetch,
271
+ cookieOptions,
272
+ multiTab,
271
273
} : SupabaseClientOptions ) {
272
274
const authHeaders = {
273
275
Authorization : `Bearer ${ this . supabaseKey } ` ,
@@ -281,6 +283,8 @@ export default class SupabaseClient {
281
283
detectSessionInUrl,
282
284
localStorage,
283
285
fetch,
286
+ cookieOptions,
287
+ multiTab,
284
288
} )
285
289
}
286
290
Original file line number Diff line number Diff line change @@ -53,6 +53,11 @@ export type SupabaseClientOptions = {
53
53
* Throw errors, instead of returning them.
54
54
*/
55
55
shouldThrowOnError ?: boolean
56
+
57
+ /**
58
+ * Options passed to the gotrue-js instance
59
+ */
60
+ cookieOptions ?: SupabaseAuthClientOptions [ 'cookieOptions' ]
56
61
}
57
62
58
63
export type SupabaseRealtimePayload < T > = {
You can’t perform that action at this time.
0 commit comments