kalibcheil0320
orszi7861
const currAccessTokenPayload = req.session!.getAccessTokenPayload(); await req.session!.updateAccessTokenPayload({ newKey: 'newValue', ...currAccessTokenPayload });
const { accessTokenPayload } = useSessionContext();
aquajet
Jalil Jarjanazy
cpolanish
tomita0022
Lucifer979
ashutoshdeshmukh.22
magicberbere
akil_av17
app.get("/auth/internal/verify-session", async (req: SessionRequest, res, next) => { try { await verifySession({sessionRequired: true}) (req, res, next); res.json({ success: true, payload: req.session }); } catch (err) { console.log("Error in verify-session", err); next(err); } }); Error Log: Error in verify-session Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client Response: { "message": "unauthorised" }
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).