After logging in and being redirected to the IDP / SAMP provider, an error "Invalid CORS request" is received.
This can occur when AuthHub sends the SAML request to one URL (the configured login URL), but the response comes from a different URL. Since the third party is changing origin URL, authhub rejects this.