FeatureFuel
11

Ability To Reduce Cookie Size by Excluding Metadata

Source: supabase/supabase#29782 · opened by @J43fura
Ability To Reduce Cookie Size by Excluding Metadata Summary: I would like to request the ability of a reduction in the cookie size for Supabase Auth by excluding metadata from being stored in the cookie. By default, Supabase Auth currently stores metadata in the session cookie, leading to larger cookie sizes that can negatively impact performance & user experience, especially in environments where cookie size limits are a concern. Motivation: 1. Compliance with Cookie Size Limits: Many web browsers and reverse proxies impose strict limits on cookie sizes (often around 8KB). Exceeding this limit can lead to unexpected behaviors, including rejection of cookies (python-websockets, Nuxt, Cloudflare...) causing 431 Request Header Fields Too Large issues. 2. Better Developer Control: Allowing developers to disable the storing of metadata in the cookie if necessary will give developers better control over the size and contents of the authentication cookies. Proposed Solu…

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests