DevClad-Inc / devclad

DevClad is a social-workspace platform for developers. Network, build, and ship your ideas rapidly.

Home Page:https://devclad-client-landing.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Secure serverless auth mechanism

arthtyagi opened this issue · comments

Currently, auth is handled using cookies on the client side (non-http).

  • Vercel Serverless Function.
  • Replace existing usage of non-httpOnly cookies.
    • Cookies.set -> serverlessCookie(key,value,expiry)
    • Cookies.get -> getCookie(key)