Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Support SvelteKit for getAuthCookieString and associated functions #311

@kbrgl

Description

@kbrgl

Feature request

Support SvelteKit for getAuthCookieString and associated functions.

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

A breaking change in SvelteKit broke getAuthCookieString, setAuthCookie, deleteAuthCookie, etc. (sveltejs/kit#3384). This means server-side auth on SvelteKit is effectively broken, although you can use a workaround (supabase/supabase#5218).

Describe the solution you'd like

Support native fetch Request objects directly. One implementation approach may be to "expressify" these native requests by constructing a mock object which allows interop with the existing methods.

Describe alternatives you've considered

supabase/supabase#5218

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions