I am trying to redirect my user by checking a cookie using Cloudflare workers. The cookie name I m setting is login=true. So if the cookie exists user goes to app.xyz.com and if it doesn’t exist user goes to xyz.com. I have written a cookie setting function inside the login func. But safari won’t allow me to set the cookie for more than 7 days. How can I fix this problem?.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Can the _csrf cookie on the hosted login page have a shorter max-age? | 2 | 3433 | February 11, 2019 | |
Cookies are not set after Authorization on my SPA | 0 | 895 | May 11, 2023 | |
Store auth0 jwt token in the cookie | 2 | 4118 | February 23, 2020 | |
A cookie associated with a cross-site resource at http://auth0.com/ was set without the `SameSite` attribute | 21 | 13285 | October 2, 2020 | |
JWT with recent Safari and Mozila update reguarding 3rd party cookies | 1 | 3985 | March 27, 2020 |