stocky-oil-75309
11/07/2025, 8:05 AMmagnificent-energy-493
max-age or expires attribute).
• The user logs out, and Ory instructs the browser to delete the cookie.
• The browser is closed (if the cookie is not persistent).
• The user or browser extensions clear cookies manually.
some tips to debug:
• Check the cookie settings in Console or your config, should look like this:
session:
cookie:
persistent: true
• Some browsers, like Safari, limit cookie lifespans (e.g., to 7 days) due to privacy features like Intelligent Tracking Prevention (ITP). This can cause cookies to disappear even if the session is still valid on the server.
• Misconfigured cookie domain or SameSite attributes can prevent cookies from being sent or cause them to be dropped. Ensure your cookie domain is set to the root domain if you want it shared across subdomains. see docs
• Users clearing cookies, browser extensions, privacy settings, or anti-virus software can also remove cookies unexpectedly.
Ideally you can reproduce this on your side, so you can check what is going on with browser dev tools.stocky-oil-75309
12/09/2025, 1:48 PMmagnificent-energy-493
stocky-oil-75309
12/09/2025, 3:33 PMstocky-oil-75309
12/09/2025, 3:42 PMstocky-oil-75309
12/09/2025, 3:59 PM1. Use Cloudflare for the domain that makes the AJAX request to Ory. This makes Ory and your domain appear as the same party to Safari.What do you mean by this? Use Cloudflare in the sense that my domain should be from the cloudflare registrar?
magnificent-energy-493
stocky-oil-75309
12/10/2025, 12:16 PMstocky-oil-75309
12/10/2025, 12:21 PM