funk101
05/28/2022, 3:47 PMif (securityLevel === "full") {
return (
<EmailPasswordAuthNoSSR>
{getLayout(<Component {...pageProps} />)}
</EmailPasswordAuthNoSSR>
);
} else {
return (
<EmailPasswordAuthNoSSR requireAuth={false}>
{getLayout(<Component {...pageProps} />)}
</EmailPasswordAuthNoSSR>
);
}
Jota
05/28/2022, 3:56 PMrp
05/28/2022, 4:20 PMLouieMartin
05/29/2022, 12:43 PMLouieMartin
05/29/2022, 12:44 PMalisha
05/30/2022, 8:01 AMEdwinN1337
05/30/2022, 8:23 AMEdwinN1337
05/30/2022, 2:58 PMcreateNewSession
logic... to add hasura claims
Anyway we can do this?Bruno Diferente
05/31/2022, 10:32 AMthirdParty
gmail and email and password
using the same email as different accounts and if there any solution to make them map to the same account so connection can be using any of methods
Thank you in advanceZoomeez
05/31/2022, 12:36 PMThomasK
05/31/2022, 1:59 PMObject { }
. How do i get the actual token payload? I need to check for user roles inside it.
let accessTokenPayload = await SuperTokens.getAccessTokenPayloadSecurely();
console.log(accessTokenPayload)
Any ideas? Thanks in advanceFrAgOrDiE
06/01/2022, 2:08 PMFrAgOrDiE
06/01/2022, 2:10 PMrp
06/01/2022, 2:11 PMsharma
06/02/2022, 3:34 AMUserContext
vs UserMetadata
which one to choose for user profile data such as timezone, address, etc.?sharma
06/02/2022, 4:55 AMUserMetaData
module in supertokens-node@9.1.2
Error: Cannot find module 'supertokens-node/recipe/usermetadata'
Here's how I import
var UserMetadata = require("supertokens-node/recipe/usermetadata")
sharma
06/02/2022, 5:01 AMsupertokens-node
to 9.2.2
funk101
06/02/2022, 5:18 AMAccess to fetch at 'https://www.finicky.pet/api/auth/session/refresh' from origin 'https://staging.finicky.pet' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: The 'Access-Control-Allow-Origin' header has a value 'https://www.finicky.pet' that is not equal to the supplied origin. Have the server send the header with a valid value, or, if an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
EdwinN1337
06/02/2022, 12:06 PMrp
06/02/2022, 12:19 PMsharma
06/03/2022, 12:31 AMsession.getAccessTokenPayload()
vs session.userDataInAccessToken
?dhatGuy
06/03/2022, 1:36 AMrp
06/03/2022, 3:57 AMrp
06/03/2022, 3:58 AMsharma
06/03/2022, 4:20 AMalisha
06/03/2022, 6:13 AMrp
06/03/2022, 6:32 AMJayakrishna
06/03/2022, 9:05 AMJayakrishna
06/03/2022, 9:20 AMJayakrishna
06/03/2022, 9:32 AM