Clément
BABetter Auth
•Created by Clément on 4/2/2025 in #bug-reports
Issue: Session not retrieved on latest safari version
Description
I'm encountering a session-related issue On modern browsers, specifically the latest version of Safari. While session retrieval
works fine on Chrome
, it fails on Safari.
Context
Backend: Running on Hono (Cloudflare Workers)
Frontend: Hosted on Vercel
Setup: The frontend and backend are on different domain names
Troubleshooting Attempts
I tried setting partitioned: true
and removing secure: true
, but this caused issues across all browsers, making the situation worse.
I'm not sure if this is a bug or if I misconfigured better-auth. Does anyone have insights into why Safari is blocking session retrieval while Chrome works fine? Any suggestions on how to resolve this?10 replies