Cross domain cookie / backend behind cf tunnel
Hi everyone,
Does anyone have a setup where the back end is behind a cloudflare tunnel?
I am dealing with a cross domain cookie issue and would love some help on resolving it.
Front end: localhost:5174
Back end: auth.mydomain.com, running Elysia.
Everything works up to the cookie setting. However the domain is always set to my domain.com. as a result I can't use the cookie / call session on the front end.
What would be the best way to resolve this?
Thank you very much in advance.
0 Replies