You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Feature Request: Authentication should add HttpOnly secure cookies with refresh_token to be used at server-side for user verification at middlewares like in NextJS
#872
Open
rahul3v opened this issue
Feb 14, 2025
· 0 comments
Needed some way to use InstantDB user authentication vitrifaction at server-side to verify current active-user at client when user reloads the web-page/application
The way it can be done using cookies, set HttpOnly secure cookies from your side when sending token data, so that we can access the token via cookie by default at server and send response accordingly when user-reloads the app.
Best flexible way is to let user have control what cookies/headers to set while doing authentication, which will give more control to use authentications
The text was updated successfully, but these errors were encountered:
rahul3v
changed the title
Authentication should add cookies with refresh_token to be used at server-side for user verification at middlewares like in NextJS
Feature Request: Authentication should add HttpOnly secure cookies with refresh_token to be used at server-side for user verification at middlewares like in NextJS
Feb 14, 2025
Needed some way to use InstantDB user authentication vitrifaction at server-side to verify current active-user at client when user reloads the web-page/application
The way it can be done using cookies, set HttpOnly secure cookies from your side when sending token data, so that we can access the token via cookie by default at server and send response accordingly when user-reloads the app.
Best flexible way is to let user have control what cookies/headers to set while doing authentication, which will give more control to use authentications
The text was updated successfully, but these errors were encountered: