When we deploy a temporal server, if we don’t use http, then we will encounter the following issue
temporal missing csrf token in request header
How to fix it, just add the following environment variable in the docker file for ui service:
- TEMPORAL_CORS_ORIGINS=http://hostname:8080
- TEMPORAL_CSRF_COOKIE_INSECURE=true
Then it can work well