Closed reiniertc closed 5 months ago
Thanks for the detailed report.
That's the issue. I don't know why it redirects to that, could that be a reverse proxy issue? ChiefOnboarding should always stay on the same domain.
Because it redirects to that url, it won't be able to get the signed login cookie and it will therefore redirect back to the login page.
http
(without the s
) is not supported by default, but can be enabled by setting: HTTP_INSECURE=True
. This not recommended.
Thanks for the quick reply.
Indeed: I have a reverse proxy setup.
The external url is https://welkom.[domain-name].nl
, which is pointed at the http://[internal-ip-adress]:9810
I will look into my setup on that point and report back here
I got it working with a setup based on the internal IP-address, so without the reverse proxy. So it is what you thought it was: the reverse proxy.
Thanks!
I've installed chiefonboarding with docker. It's up and running, I can create the organisation and first user in the first screen. After that I'm greeted with the login screen. But when I enter the correct credentials of the user, I return to the login screen without any error. (for the record: if I enter a wrong user or a wrong password, I get the error that the credentials are wrong) All I notice is that the url has changed to http://[[ip-address]]:9810/?next=/redirect/
The log files also doesnt show an error:
2024/02/11 12:55:45 stdout 192.168.160.1 - - [11/Feb/2024:11:55:45 +0000] "GET /?next=/redirect/ HTTP/1.1" 200 2587 "http://10.0.0.12:9810/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" 2024/02/11 12:55:45 stdout 192.168.160.1 - - [11/Feb/2024:11:55:45 +0000] "GET /redirect/ HTTP/1.1" 302 0 "http://10.0.0.12:9810/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" 2024/02/11 12:55:45 stdout 192.168.160.1 - - [11/Feb/2024:11:55:45 +0000] "POST / HTTP/1.1" 302 0 "http://10.0.0.12:9810/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
I tried the following:
My compose file (redacted) is:
Is there something wrong with my setup/config, or am I doing somthing wrong?