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 @@ -229,6 +229,8 @@ export default class SupabaseClient {
229
229
localStorage,
230
230
headers,
231
231
fetch,
232
+ cookieOptions,
233
+ multiTab,
232
234
} : SupabaseClientOptions ) {
233
235
const authHeaders = {
234
236
Authorization : `Bearer ${ this . supabaseKey } ` ,
@@ -242,6 +244,8 @@ export default class SupabaseClient {
242
244
detectSessionInUrl,
243
245
localStorage,
244
246
fetch,
247
+ cookieOptions,
248
+ multiTab,
245
249
} )
246
250
}
247
251
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