11
Make auth JWTs http-only cookies (by default)
Source: supabase/supabase#12303 · opened by @Arkenar
Correct me if i am mistaken but the default way of sending cookies to the client is using local storage. If i want to setup http-only cookies, i have to add another webserver as a middleware that would take the Supabase response and replace the header being sent with an http-only cookie. This is a major concern for me. I tend to use JWT tokens as data carriers for ABAC authorization on my services (the signing key is first verified then a service-scoped policy uses the JWT claims to handle authZ locally and without making a call to an IAM server or to a gateway) and i don't want this data to be exposed to the client. Is there a way to send http-only cookies directly from Supabase? If not, could you please add that feature to the app as soon as possible? I could add a middleware webserver but that would kill the purpose of using Supabase for authN. When it comes to session security, providing at least an option to configure http-only tokens which cannot be access from clien…
No pledges yet. Be the first to back this.
Comments
Similar requests
Enable Supabase SSR cookies with Vike Cloudflare
1 vote · 0 comments
Changing JWTs to RS256 to verify JWT inside getSession() anywhere
4 votes · 0 comments
Request to Enable External JWT Authentication with Firebase (Project: dropnow-2025)
1 vote · 0 comments
Asymmetric cryptography
3 votes · 0 comments
supabase/ssr: Offer other means of storing/sending session data other than cookies
3 votes · 0 comments
No comments yet.