I have a cookie-less API (which uses JWT for authentication) for a single page app and need a session store for the passport-oauth1 module (unfortunately, that module requires a session store to work). I was wondering if I could instead base the session store on a req.query.session_id query parameter instead of storing the session id in a cookie. Is there any module that behaves like express-session but which will retrieve the session id from an url rather than a cookie?
I have a cookie-less API (which uses JWT for authentication) for a single page app and need a session store for the
passport-oauth1module (unfortunately, that module requires a session store to work). I was wondering if I could instead base the session store on areq.query.session_idquery parameter instead of storing the session id in a cookie. Is there any module that behaves likeexpress-sessionbut which will retrieve the session id from an url rather than a cookie?