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
Hello guys, how to write cookie session to my react app, when i'm in developing mode? I'm syncing data via proxy.
In ideal I'm need to create session on my react app, because when I'm coping cookie to react and trying to read it on server app response with: "Cannot decrypt cookie value, create a new fresh session".
The text was updated successfully, but these errors were encountered:
@asvetlov I'm figure out where was problem) when you use create react app + proxy for fetching data from different url (ex. react at localhost:3000 and server at localhost:3001) for bypassing CORS and make some GET/POST requests, you need add additional param to your request credentials: 'include', so your fetch func in react, will look like this:
Hello guys, how to write cookie session to my react app, when i'm in developing mode? I'm syncing data via proxy.
In ideal I'm need to create session on my react app, because when I'm coping cookie to react and trying to read it on server app response with: "Cannot decrypt cookie value, create a new fresh session".
The text was updated successfully, but these errors were encountered: