abdulhakkeempa
n1ru4l
emailVerificationFeature
djodjo02130
Guldberg
connectionURI
apiKey
ts supertokens: { connectionURI: "http://localhost:3567", apiKey: "someKey" // OR can be undefined },
magneze909
doraig
codingtomato
zach.webb
dhatguy
async function doesSessionExist() { if (await SuperTokens.doesSessionExist()) { // user is logged in console.log("there is a session"); } else { // user has not logged in yet } }
funk101
Access 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.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).