rp
05/01/2022, 8:09 AMgitcommitshow
05/01/2022, 12:46 PMrp
05/01/2022, 12:46 PMgitcommitshow
05/01/2022, 12:46 PMSession.getSession
here?rp
05/01/2022, 12:47 PMgitcommitshow
05/01/2022, 12:50 PMauthenticate()
2. In this middleware, I will use Session.getSession
to verify the session and then I'd add the session info in req.session object.
Then at the route handler side, I can simply req.session
to see if the session is valid or expiered.\rp
05/01/2022, 12:53 PMgitcommitshow
05/01/2022, 12:53 PMSession.Error.TRY_REFRESH_TOKEN
, I will start refresh token process (I still needs to learn about that)rp
05/01/2022, 12:53 PMgitcommitshow
05/01/2022, 12:56 PMrp
05/01/2022, 1:07 PMgitcommitshow
05/01/2022, 5:30 PMrp
05/02/2022, 4:48 AM