Skip to content

Add support for specifying Http Timeout #317

Description

@FozerG

Feature request

Is your feature request related to a problem? Please describe.

Currently, gotrue-csharp uses the default HttpClient timeout (which is typically 100 seconds). In many mobile or unstable network scenarios, this is way too long, leading to a poor user experience where the app appears frozen during authentication attempts on a bad connection.

Other libraries in the C# ecosystem for Supabase, such as functions-csharp and realtime-csharp, already allow users to specify a custom timeout

Describe the solution you'd like

I would like to see a Timeout property added to the ClientOptions class.

Describe alternatives you've considered

One alternative is to manually provide a custom HttpClient via the constructor if the library supports it, but having a first-class property in Options is much more user-friendly and aligns with the developer experience in other Supabase C# SDKs.

Activity

  1. added
    feature
    on Jan 8, 2026
  2. self-assigned this
    on Feb 3, 2026
  3. assigned and unassigned on Jul 3, 2026
  4. Tr00d commented on Jul 3, 2026

    @Tr00d
    Contributor

    @FozerG I'm the new maintainer of the Supabase C# SDK.
    Indeed, all HttpClient management is internal, while you should be able to provide your own HttpMessageHandler.
    It's already in my backlog, so just give me some time to settle and I'll keep you posted. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: gotruefeature

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions