credentials to api proxy middlware?
I have this proxy for keeping the api secure
the proxy interact with the api internally
The architecture look like this
React app ------------------------proxy auth
| |
React server api server
I want to keep the same session identity for both react server and the proxy
Don't you just send the token or cookie with each request? You can make a custom hook to include the token so it's not repetitive
Обсуждают сегодня