rp
04/27/2022, 9:50 AMrp
04/27/2022, 9:51 AMscherbatsky.jr
04/27/2022, 9:54 AMscherbatsky.jr
04/27/2022, 11:45 AMrp
04/27/2022, 11:47 AMscherbatsky.jr
04/27/2022, 11:49 AMrecipeList: [
EmailPassword.init({
resetPasswordUsingTokenFeature: {
createAndSendCustomEmail: async (user, passwordResetURLWithToken) => {
let {id, email} = user;
console.log(user);
console.log(passwordResetURLWithToken);
}
}
rp
04/27/2022, 11:52 AMscherbatsky.jr
04/27/2022, 11:53 AM{
"status": "OK"
}
No effect on changing the console locationlmac
04/27/2022, 1:25 PMM/\X
04/27/2022, 2:02 PM<EmailPasswordAuth requireAuth={false}>
but if I don't use this tag on App (where the routes are) then useSessionContext()
always reports false. Where am I going wrong?
https://supertokens.com/docs/emailpassword/common-customizations/sessions/checking-session-front-endPitchAsh
04/27/2022, 2:45 PMlavenderlav
04/28/2022, 4:04 AMlavenderlav
04/28/2022, 5:31 AMexecreate
04/28/2022, 6:29 AMmlegls
04/28/2022, 6:30 AMrp
04/28/2022, 6:43 AMexecreate
04/28/2022, 6:43 AMredis.exceptions.ResponseError: WRONGPASS invalid username-password pair or user is disabled.
and my redis connection URL was set to redis://SECRETPWD@redis-host:6379
The solution of the problem:
set redis connection URL to redis://default:SECRETPWD@redis-host:6379
(https://dba.stackexchange.com/a/306271)rp
04/28/2022, 6:45 AMCuriousCI
04/28/2022, 7:09 AMclass Donor(models.Model):
user_id = models.CharField(max_length=2048)
name = models.CharField(max_length=512)
surname = models.CharField(max_length=512)
phone = PhoneNumberField()
# etc...
When the user signs-up, I create a custom instance which has the SuperTokens user_id inside, is there a better solution for Django?
Also, I wanted to ask if the
include_recipe_ids field in the get_users() function
is for manually specifying the ids of the users you want to retrieve?
https://supertokens.com/docs/python/supertokens.htmlFrAgOrDiE
04/28/2022, 9:00 AMRequest failed with status code 400
Error: Request failed with status code 400
at createError (D:\git\evt-server\node_modules\supertokens-node\node_modules\axios\lib\core\createError.js:16:15)
at settle (D:\git\evt-server\node_modules\supertokens-node\node_modules\axios\lib\core\settle.js:17:12)
at IncomingMessage.handleStreamEnd (D:\git\evt-server\node_modules\supertokens-node\node_modules\axios\lib\adapters\http.js:269:11)
at IncomingMessage.emit (node:events:406:35)
at endReadableNT (node:internal/streams/readable:1331:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
FrAgOrDiE
04/28/2022, 9:02 AMM/\X
04/28/2022, 2:31 PMrp
04/28/2022, 2:52 PMFrAgOrDiE
04/29/2022, 6:26 AMara.ara
04/29/2022, 6:39 AMlavenderlav
04/29/2022, 6:44 AMRomain
04/29/2022, 10:00 AMingwaz
04/29/2022, 12:30 PMCuriousCI
04/29/2022, 1:18 PM