I'm trying to figure out how the callbackUrl is decided for compactMode.
Spesifically i notice that when accessing https://mydomain/scripts/rms.fcgi/compactMode#mainpage the requestUrl sent from the browser is this:
This gives me mixed-content-issues in the browser:
And if i enable unsafe scripts it gets blocked by CORS policy:
In the database both cgi_url and cgi_url_internal in crm7.config are set to https.
In SuperOffice Admin the baseUrl-address is set to use https as well.
Why does compactMode try to access/forward to the SuperOffice login-page on HTTP, and is it possible to override this somehow? My only guess here would be that SuperOffice is internally hosted on HTTP, with a proxy frontend, so maybe its hardcoded that it uses the binding on the site?
I tested this on a desktop-computer and if I have a valid session (log in to SuperOffice) and then open compactMode it works at it should, so its the forward to the Sales login-page that fails.