Basic authentication process (through reverse proxy)


  • Used Zammad version: 3.1.x
  • Operating system: Ubuntu 18.04

Expected behavior:

  • Automatically logging in a technical user via local NGINX proxy to show the dashboard on a Monitor (no mouse / keyboard accessible)

Actual behavior:

  • Basic Authentication header passed, but get redirected to Login page

Steps to reproduce the behavior:

  • Access Zammad through nginx proxy like the following example:
    location / {
    proxy_set_header Authorization “Basic [base64encoded-removed]”;
    proxy_set_header Host [host-removed];
    proxy_pass https://[host-removed];

As described, I am trying to automatically login via Basic Authentication. Header is set, but if I access the NGINX RP, I get redirected to login page (/#login). I do not know how to resolve this. Do I need to call a specific URL? I also tried POSTing to /api/v1/signing but then I get errors that the csrf-token is missing.
Any Ideas?

I saw the other forum post that this should be possible: HTTP basic authentication Is that possible?
But I seem to not get it to work.

Thanks for any help on this topic.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.