I currently have 2 domains pointing to my mailcow. The subdomain email is what I normally use to get there, however I also have a subdomain webmail that I setup with a custom Nginx config that always redirects users to /SOGo/.
With the new authentication system, if I configure mailcow to use an external identity provider, can I then make it redirect users to either mailcow or SOGo depending on the initial domain they used to connect?