Viomenel
09/09/2022, 11:37 PMrp
09/10/2022, 4:11 AMJacobLUC
09/10/2022, 9:57 AMrp
09/10/2022, 11:07 AMflixoflax
09/10/2022, 11:42 AMrp
09/10/2022, 11:54 AMViomenel
09/10/2022, 12:16 PMrp
09/10/2022, 1:03 PMLuxaaa
09/11/2022, 10:23 AMpython
session = await get_session(request, session_required=True)
user_id = session.user_id
Because i need the user id for every request, this havely slows down my api calls.akns
09/11/2022, 4:05 PM/auth
Anything I can check?jg
09/11/2022, 4:38 PMnickm91
09/11/2022, 6:45 PMsIRTFrontend
sFrontToken
sIdRefreshToken
and sAccessToken
cookies and store them on the browser.
On prod a successful signup will only assign sIRTFrontend
and sFrontToken
In both cases the user is added to the db under the correct (emailpassword) recipe.
If I navigate to /auth
on prod, I'm still redirected to /
, so the EmailPasswordAuth
component is still detecting some sort of logged in session but the cookies are not present or working in the browser cookies nor being transferred with the request credentials. This all works on local.
I cannot for the life of me, figure out why the local implementation would be different?shorthair_[]
09/11/2022, 11:05 PMshorthair_[]
09/11/2022, 11:06 PMshorthair_[]
09/11/2022, 11:08 PMshorthair_[]
09/11/2022, 11:09 PMrp
09/12/2022, 3:53 AMBinouse
09/12/2022, 10:10 AMoutsparkled
09/12/2022, 2:10 PMrp
09/12/2022, 2:27 PMGreg
09/12/2022, 6:51 PMrp
09/12/2022, 7:37 PMsarahewarner
09/12/2022, 9:06 PMrp
09/13/2022, 4:37 AMidanh
09/13/2022, 7:16 AMrefreshSession: UNAUTHORISED because idRefreshToken from cookies is undefined
is there any workaround? i'm working on a responsive PWA with nestjs + graphql + Reactn1ru4l
09/13/2022, 9:05 AMsupertokens-node
verifySession
and Session.getSession
functions behave in case the session is expired? Do they check this? or will they return `null`/`undefined` in such an scenario?Lindo (Hannes Colt)
09/13/2022, 12:11 PMIaS1506
09/13/2022, 12:25 PMImpecorator
09/13/2022, 1:33 PMLuxaaa
09/13/2022, 3:43 PMinputWrapper: {
backgroundColor: 'var(--input-background)',
borderColor: 'var(--input-border)'
},
input: {
color: 'var(--text-color)',
}
Luxaaa
09/13/2022, 3:43 PMinputWrapper: {
backgroundColor: 'var(--input-background)',
borderColor: 'var(--input-border)'
},
input: {
color: 'var(--text-color)',
}
rp
09/13/2022, 3:44 PMLuxaaa
09/13/2022, 6:26 PM