File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -252,6 +252,7 @@ export default class SupabaseClient<
252
252
storage,
253
253
storageKey,
254
254
flowType,
255
+ debug,
255
256
} : SupabaseAuthClientOptions ,
256
257
headers ?: Record < string , string > ,
257
258
fetch ?: Fetch
@@ -269,6 +270,7 @@ export default class SupabaseClient<
269
270
detectSessionInUrl,
270
271
storage,
271
272
flowType,
273
+ debug,
272
274
fetch,
273
275
} )
274
276
}
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ export type SupabaseClientOptions<SchemaName> = {
40
40
* OAuth flow to use - defaults to implicit flow. PKCE is recommended for mobile and server-side applications.
41
41
*/
42
42
flowType ?: SupabaseAuthClientOptions [ 'flowType' ]
43
+ /**
44
+ * If debug messages for authentication client are emitted. Can be used to inspect the behavior of the library.
45
+ */
46
+ debug ?: boolean
43
47
}
44
48
/**
45
49
* Options passed to the realtime-js instance
You can’t perform that action at this time.
0 commit comments