Обсуждение: CSRF Tokens Do Not Match - Kubernetes Deployment via LoadBalancer
Hi,
I’ve deployed PGadmin4 via Docker container into our Kubernetes Cluster - TLS enabled and exposed via AWS LoadBalancer.
Service boots fine and I can get to the login page, but I get failed login with “CSRF Tokens Do Not Match” error.
Standard config.py.
Any pointers?
Thanks in advance!
Hi Chris,
Try setting PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=False in docker env vars.
On Wed, Jan 6, 2021 at 6:56 PM Chris Nicholas <chris.nicholas@qumo.do> wrote:
Hi,I’ve deployed PGadmin4 via Docker container into our Kubernetes Cluster - TLS enabled and exposed via AWS LoadBalancer.Service boots fine and I can get to the login page, but I get failed login with “CSRF Tokens Do Not Match” error.Standard config.py.Any pointers?Thanks in advance!
Thanks,
Aditya Toshniwal
pgAdmin hacker | Sr. Software Engineer | edbpostgres.com
"Don't Complain about Heat, Plant a TREE"
Thanks Aditya that works & a case of reading the config file comments :)
Chris Nicholas
On 7 Jan 2021, at 05:16, Aditya Toshniwal <aditya.toshniwal@enterprisedb.com> wrote:Hi Chris,Try setting PGADMIN_CONFIG_ENHANCED_COOKIE_PROTECTION=False in docker env vars.On Wed, Jan 6, 2021 at 6:56 PM Chris Nicholas <chris.nicholas@qumo.do> wrote:Hi,I’ve deployed PGadmin4 via Docker container into our Kubernetes Cluster - TLS enabled and exposed via AWS LoadBalancer.Service boots fine and I can get to the login page, but I get failed login with “CSRF Tokens Do Not Match” error.Standard config.py.Any pointers?Thanks in advance!--Thanks,Aditya ToshniwalpgAdmin hacker | Sr. Software Engineer | edbpostgres.com"Don't Complain about Heat, Plant a TREE"