I have connected my razor web app with aad sso which works and performs as expected. However, when a user tries to login that is not part of the aad tenant, it defaults to the basic error page which then shows the tenant's name, appid etc.
Have tried majority of solutions from threads that exists. Has anyone been able to fix this? Connected aad sso using Connected Services -> Microsoft Identity platform