rp
03/05/2021, 1:52 PMthisjust
03/05/2021, 1:55 PMserverless-http
to translate from serverless functions into (req, res)
style functions, but I'm not using express
, body-parser
, or supertokens.middleware
. Do I need to be using these? Or is the fact that I'm getting these 4 cookies mean everything is okay?rp
03/05/2021, 1:57 PMrp
03/05/2021, 1:57 PMrp
03/05/2021, 2:01 PMthisjust
03/05/2021, 2:01 PMbodyParser
or supertokens.middleware
?rp
03/05/2021, 2:02 PMrp
03/05/2021, 2:03 PMthisjust
03/05/2021, 2:03 PMthisjust
03/05/2021, 9:54 PMrp
03/06/2021, 5:40 AMthisjust
03/06/2021, 9:43 PMrp
03/06/2021, 9:44 PMthisjust
03/06/2021, 9:45 PMthisjust
03/06/2021, 9:46 PMrp
03/06/2021, 9:46 PMrp
03/06/2021, 9:47 PMthisjust
03/06/2021, 9:49 PMrp
03/06/2021, 9:50 PMthisjust
03/06/2021, 9:50 PMlet sessionHandle = req.body.sessionHandle
await Session.revokeSession(sessionHandle);
vs verifying session with middleware and then```
await req.session.revokeSession();
```rp
03/06/2021, 9:52 PMthisjust
03/06/2021, 9:55 PMawait req.session.revokeSession();
rp
03/06/2021, 9:55 PMrp
03/06/2021, 9:56 PMrp
03/06/2021, 9:57 PMthisjust
03/06/2021, 9:58 PMthisjust
03/06/2021, 10:12 PMsupertokens.verifySession is not a function
thisjust
03/06/2021, 10:19 PMSession.verifySession
, from searching your repo for verifySession
. But your docs say to use supertokens.verifySession
rp
03/07/2021, 5:03 AMrp
03/07/2021, 6:29 AMrp
03/07/2021, 6:29 AM