Session cookie does not persist after reload in React SDK
main.js:
i have setup admin subdomain in my site, thats why the redirectUri and logoutUri is different from what's defined in the react setup docs
So, when i try to login using this setting, it logs in for a moment but when i reload, it logs me out immediately
i had a look in the applications tab in the browser console, the cookies had some
I tried using
and if i log out, the
I cannot keep using
is this a bug? if not is there a workaround to make it work
i have setup admin subdomain in my site, thats why the redirectUri and logoutUri is different from what's defined in the react setup docs
So, when i try to login using this setting, it logs in for a moment but when i reload, it logs me out immediately
i had a look in the applications tab in the browser console, the cookies had some
enduser_session_id field in it, and when i reload, this field vanishesI tried using
isDangerouslyUseLocalStorage={true} in the above setting, it kept me logged in until i manually log out, the local storage had kinde_refresh_token this timeand if i log out, the
kinde_refresh_token & enduser_session_id vanishes from local storage and cookies resp.I cannot keep using
isDangerouslyUseLocalStorage={true} as it is not secure, and i'm wondering why the kinde_refresh_token not getting saved in the cookie instead of local storage?is this a bug? if not is there a workaround to make it work