<@!793412957328769024> instead of trying the above...
# support-questions-legacy
r
@User instead of trying the above, please try the following: - Update your supertokens-auth-react dependency to
supertokens/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.
4 Views