Gal Malachi
10/09/2025, 5:01 PMGal Malachi
10/09/2025, 5:15 PMAsaf Shen
10/09/2025, 6:40 PMsessionTokenViaCookie means that the sdk (running on the browser) will store the session from body on a cookie, meaning on a JS cookie, not as an HTTP only cookie, which can be configured only by Descope service (or your backend)
and a followup question - will it honor the cookie name set in flow?no, but you can also pass
sessionTokenViaCookie={{ cookieName: 'mycookie' }}
(this is supported on the latest version)Gal Malachi
10/10/2025, 12:27 AMAsaf Shen
10/10/2025, 6:59 AMcustomStorage - there you can do whatever you want (including sending tokens to your backend and set them as http conly cookieGal Malachi
10/10/2025, 2:38 PMGal Malachi
10/12/2025, 3:55 AMAsaf Shen
10/14/2025, 6:56 PM