Bruno Diferente
06/14/2022, 10:24 AMauth
pages implementing custom design and pages that use APIs directly with axios
,
I'm having issue with sIRFrontend
cookie, when its valued changed to remove it will never change even if i have successful login / register
, however if I use fetch
everything works just fine.nkshah2
06/14/2022, 10:24 AMnkshah2
06/14/2022, 10:25 AMBruno Diferente
06/14/2022, 10:25 AMBruno Diferente
06/14/2022, 10:25 AMnkshah2
06/14/2022, 10:25 AMBruno Diferente
06/14/2022, 10:26 AMnkshah2
06/14/2022, 10:26 AMBruno Diferente
06/14/2022, 10:26 AMBruno Diferente
06/14/2022, 10:27 AMBruno Diferente
06/14/2022, 10:27 AMimport EmailPasswordReact from "supertokens-auth-react/recipe/thirdpartyemailpassword";
Bruno Diferente
06/14/2022, 10:27 AMnkshah2
06/14/2022, 10:27 AMBruno Diferente
06/14/2022, 10:29 AMBruno Diferente
06/14/2022, 10:38 AMnkshah2
06/14/2022, 10:38 AMnkshah2
06/14/2022, 10:40 AMBruno Diferente
06/14/2022, 10:43 AMBruno Diferente
06/14/2022, 10:44 AMBruno Diferente
06/14/2022, 10:44 AMBruno Diferente
06/14/2022, 10:45 AMfunctions
that behave in same waynkshah2
06/14/2022, 10:45 AM0.22.0
or above you could just do something similar to ThirdPartyEmailPassword.thirdPartySignInAndUp
nkshah2
06/14/2022, 10:45 AMBruno Diferente
06/14/2022, 10:45 AMnkshah2
06/14/2022, 10:45 AMnkshah2
06/14/2022, 10:45 AMBruno Diferente
06/14/2022, 10:46 AMpreApiHook
& postApiHook
!nkshah2
06/14/2022, 10:46 AMnkshah2
06/14/2022, 10:47 AMBruno Diferente
06/14/2022, 10:48 AMBruno Diferente
06/14/2022, 10:48 AMBruno Diferente
06/14/2022, 10:48 AMnkshah2
06/14/2022, 10:48 AMBruno Diferente
06/14/2022, 10:50 AMnkshah2
06/14/2022, 10:51 AMsupertokens-auth-react
SDK in which case yes you would need that config
- If you want to handle everything yourself and just have SuperTokens manage cookies and session management for you, you should use the supertokens-website
SDK which has a minimal configBruno Diferente
06/14/2022, 10:51 AMnkshah2
06/14/2022, 10:51 AMnkshah2
06/14/2022, 10:51 AMBruno Diferente
06/14/2022, 10:52 AMnkshah2
06/14/2022, 10:52 AMBruno Diferente
06/14/2022, 10:52 AMBruno Diferente
06/14/2022, 10:52 AMnkshah2
06/14/2022, 10:53 AMBruno Diferente
06/14/2022, 10:54 AM