-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
connect.sid is not being created, req.session doesn't seem to be retrieving the token when frontend and backend are on separate ports #20
Comments
The detail in this post is immaculate - that is super appreciated. Note that, the First of all, when I run Secondly, for your local development, you cannot set Usually you want to set the For example, httpOnly for session should ALWAYS be true. I was able to get the I'd recommend combining the frontend and backend into a single repo, a monorepo, this is particularly great if you make use of workspaces, as installed dependencies can be shared across projects and save space. Also If you wanted a more realistic dev environment, you could setup a docker environment where you use a single domain and reverse proxy to the backend and frontend via an |
EDIT 1
Questions
|
What is expected?
What is happening?
Backend
app.js
Frontend
store/index.js
plugins/axios.js
Libraries
Download link
Questions
The text was updated successfully, but these errors were encountered: