https://www.growthbook.io/ logo
w

wide-telephone-44138

02/27/2022, 9:03 AM
Hello everyone! How we can determine the source of this error on our self-hosted docker? https://growth.digitalumsetzen.com/ The error texts is basically from Auth0 provider that Growthbook uses on its cloud, and Auth0 should not be used on self-hosted deployments, as the docs and code comments says. Thank you for any thoughts!
f

fresh-football-47124

02/27/2022, 9:12 AM
you are running the API backend on /backend?
what is your config? can you share?
w

wide-telephone-44138

02/27/2022, 10:16 AM
Yes, API is running on the /backend, ports proxied with apache from 443 to 3000 & 3100
f

future-teacher-7046

02/27/2022, 2:46 PM
That error is not coming from Auth0, but from the self-hosted auth system. It likely has to do with how your proxying is set up. Is apache forwarding the auth header to the API?
w

wide-telephone-44138

02/27/2022, 3:04 PM
Hi, Jeremy, I could not find that error text in constants and project files, so decided it’s related to auth0. Could you advice how to check is header forwarded to API?
f

future-teacher-7046

02/27/2022, 3:19 PM
It's been a while since I've worked with Apache. I found this on stack overflow though https://stackoverflow.com/questions/38057978/apache-proxypass-removes-authorization-header does that help?
w

wide-telephone-44138

02/27/2022, 7:51 PM
Thanks! I’ve tried, no result. Swithed to nginx, still fighting with the same error