Next.js Discord

Discord Forum

Token based auth in nextjs with instant user token revoke ?

Unanswered
North Pacific hake posted this in #help-forum
Open in Discord
North Pacific hakeOP
Hello, im planning to implement a custom session based auth system (currently i can think of using REDIS for session token storage). I could use jwt with refresh&access token, but still there is a small time-frame gap(depending on the age of access token) before the user can prevented from accessing the system. has anyone implemented this or got any idea on this or is there any blog post or anything at all?

0 Replies