Namratha
01/20/2023, 5:01 AMNamratha
01/20/2023, 5:04 AMrp
01/20/2023, 5:45 AMDanielAtStruggly
01/20/2023, 8:11 AMrp
01/20/2023, 8:49 AMproductdevbook
01/20/2023, 11:32 AMproductdevbook
01/20/2023, 12:18 PMsamuel-qosenergy
01/20/2023, 12:32 PMproductdevbook
01/20/2023, 1:58 PMLeoo
01/20/2023, 7:09 PMpiano1029
01/20/2023, 10:14 PMNightlight
01/20/2023, 10:54 PMaj-ya
01/21/2023, 3:46 AMLeoo
01/21/2023, 11:41 AMAbhi
01/21/2023, 1:16 PMJonas Alexanderson
01/21/2023, 1:34 PMawait Session.getSession()
hit and is it possible to cache that response with AWS Cloudfront that sits in front of my Supertokens server?Leoo
01/21/2023, 4:22 PMverifySession({ sessionRequired: false })
would do the trick, but requests without a session get a 401.
This is a problem for me, because I'm using https://telefunc.com for client <> server communication. The tool uses one route, whereas some requests need data from a possible existing session and some don't. Is there maybe another way without using verifySession?Aithusa
01/22/2023, 2:42 AMJonas Alexanderson
01/22/2023, 6:47 AM/jwt/jwks
. I deployed Supertokens as AWS Lambda. This url for signing up works great: https://xx1g573a5h.execute-api.us-east-1.amazonaws.com/prod/auth/signup
But how can I reach the /jwks
endpoint? Calling this https://xx1g573a5h.execute-api.us-east-1.amazonaws.com/prod/auth/jwt/jwks returns:
{
"error": "The middleware couldn't serve the API path /auth/jwt/jwks, method: get. If this is an unexpected behaviour, please create an issue here: https://github.com/supertokens/supertokens-node/issues"
}
mib200
01/22/2023, 9:53 AMconsumeCode
section but I am unable to get the login type(phone/email). The reason I need login type is to determine what is the input I am getting and accordingly check for the relevant user in the backend.
Can anyone please enlighten me here?kuzyaross
01/22/2023, 9:39 PMproductdevbook
01/23/2023, 4:53 AMts
EmailVerification.init({
mode: env.auth.requireEmailVerification ? 'REQUIRED' : 'OPTIONAL',
emailDelivery: {
override: originalImplementation => ({
...originalImplementation,
sendEmail: async (input) => {
console.log('Sending email', input)
console.log('Sending email', input)
if (input.type === 'EMAIL_VERIFICATION') {
await emailsService.sendEmailVerificationEmail.mutate({
user: {
id: input.user.id,
email: input.user.email,
},
emailVerifyLink: input.emailVerifyLink,
})
return Promise.resolve()
}
},
}),
},
}),
thats true ?rp
01/23/2023, 4:54 AMproductdevbook
01/23/2023, 4:54 AMts
console.log('Sending email', input)
console.log nothing comes up after registrationgalto4ir
01/23/2023, 6:39 AMgalto4ir
01/23/2023, 6:39 AMgalto4ir
01/23/2023, 6:40 AMdjarran
01/23/2023, 8:48 AMdjarran
01/23/2023, 8:49 AMkuzyaross
01/23/2023, 9:04 AM