Is it possible to use Hocus with https? I have a domain with HSTS forced (.dev) so http isn't an option for me. I basically have this domain pointed to a machine with caddy on it which terminates the TLS then proxies the request to the hocus server. However, when trying to login after Keycloak redirects back to the main portal, I get "Bad Request" and the logs show:
hocus-local-hocus-ui-1 | BadRequestError: unexpected iss value, expected http://<domain_name>:4200/realms/hocus, got: https://<domain_name>:4200/realms/hocus
hocus-local-hocus-ui-1 | at /app/node_modules/express-openid-connect/middleware/auth.js:121:19
hocus-local-hocus-ui-1 | at runMicrotasks (<anonymous>)
hocus-local-hocus-ui-1 | at processTicksAndRejections (node:internal/process/task_queues:96:5)
Is there a way to have hocus accept the https version of the domain even though the body may not be encrypted?
❓ Questions/Help/Support
Hi,
Is it possible to use Hocus with https? I have a domain with HSTS forced (.dev) so http isn't an option for me. I basically have this domain pointed to a machine with caddy on it which terminates the TLS then proxies the request to the hocus server. However, when trying to login after Keycloak redirects back to the main portal, I get "Bad Request" and the logs show:
Is there a way to have hocus accept the https version of the domain even though the body may not be encrypted?