EdwinN1337
06/09/2022, 12:45 PM/api/auth
. We have to provide a JWKS endpoint. Is it oké to provide just 1 endpoint?EdwinN1337
06/09/2022, 2:06 PMrp
06/09/2022, 2:09 PMrp
06/09/2022, 2:55 PMArtyom
06/09/2022, 4:46 PM<ThirdPartyEmailPasswordAuth> ... </ThirdPartyEmailPasswordAuth>
while still requiring auth in some place and not others?PitchAsh
06/09/2022, 4:56 PMwdjzr
06/09/2022, 5:27 PMwdjzr
06/09/2022, 5:27 PMwdjzr
06/09/2022, 5:28 PMwdjzr
06/09/2022, 5:29 PMwdjzr
06/09/2022, 5:30 PMEdwinN1337
06/09/2022, 6:06 PMMarques
06/09/2022, 8:42 PMCatten Kleo
06/10/2022, 7:06 AMbeagle
06/10/2022, 10:53 AManu
06/10/2022, 12:58 PManu
06/10/2022, 12:58 PMrp
06/10/2022, 1:17 PMITEnthusiasm
06/10/2022, 6:08 PMCaptainPhoton
06/10/2022, 6:42 PMrp
06/10/2022, 7:22 PMITEnthusiasm
06/10/2022, 8:30 PMITEnthusiasm
06/10/2022, 8:56 PMNordicSaksham
06/11/2022, 10:18 AMrp
06/11/2022, 10:58 AMdhatGuy
06/11/2022, 1:17 PMasync function doesSessionExist() {
if (await SuperTokens.doesSessionExist()) {
// user is logged in
console.log("there is a session");
} else {
// user has not logged in yet
}
}
this returns error in react nativeITEnthusiasm
06/11/2022, 9:12 PMresponse.status
? Or do we have to find out from the response.json().status
?
(Stated differently, is there a way to know that an error occurred without JSON-ing the response?)HRP
06/11/2022, 9:20 PMfunk101
06/12/2022, 4:46 AMcontext.redirectPath
-> can the url be "dynamic" based on some condition?funk101
06/12/2022, 4:48 AMEmailPasswordReact.init({
getRedirectionURL: async (context) => {
if (context.action === "SUCCESS") {
if (context.redirectToPath !== undefined) {
// navigate back to where the user was before authenticated
return context.redirectToPath;
}
return "/dashboard";
}
return undefined;
},