rp_st
05/11/2021, 3:40 PMsupertokens/supertokens-auth-react#0.13
- Delete yarn.lock file, and run yarn install. This should install new versions of supertokens-auth-react (0.13.0) and supertokens-website (7.1.0).
- In the frontend config, change SessionReact.init() to SessionReact.init({ isInIframe: true }).
- In backend config, change SessionNode.init({ cookieSameSite: "none" }) to SessionNode.init({ cookieSameSite: "none", antiCsrf: "VIA_TOKEN" })
- Try logging in via the iframe, and it should work.