Skip to content

FluxbaseClientOptions

Client configuration options (Supabase-compatible) These options are passed as the third parameter to createClient()

PropertyTypeDescription
auth?objectAuthentication options
auth.autoRefresh?booleanAuto-refresh token when it expires Default true
auth.persist?booleanPersist auth state in localStorage Default true
auth.token?stringAccess token for authentication
debug?booleanEnable debug logging Default false
headers?Record<string, string>Global headers to include in all requests
timeout?numberRequest timeout in milliseconds Default 30000