Login to UI console ignores the "domain" setting.
Steps to recreate:
- create new domain, restart core and console
- make "admin" password for new domain different from the Master domain admin password
- Login to console UI with admin user and select the new domain. - login fails.
Using same credentials with REST API via curl or swagger UI succeeds and the token is correct for the new domain. Something is broken with console UI authentication to domains other than Master.
Observing the request sent from the UI to the console in the browser shows that the domain parameter does change in the parameters that the browser sends if the alternate domain is selected (domain=0 vs domain=1), but the backend seems to be ignoring it.