jadeocr/jadeocr-next

Kubernetes – server is stateful

TanayB11 opened this issue · 1 comments

Using Kubernetes for deployment requires that the backend is stateless.

We need to make all parts of the auth user flow stateless by moving anything stateful to the database. This might include fixing some API routes such as the /user route and anything that relies on the authentication cookie.

Definitely get this checked out and done sooner than later.

We might have to modify Passport's auth strategy according to this article