Closed JoelProminic closed 4 months ago
@piotrzarzycki21, you can test this by changing the ACL in your test database:
@JoelProminic This has been implemented as popup error and it's ready for tests.
The popup looks like this:
I confirmed that this worked when the agent gave an error (requiring authentication) in my tests today. I also confirmed that the error did not show up when the agent returned valid XML.
@piotrzarzycki21 reported that he was getting an HTML response from XMLAuthenticationTest when testing on domino-49.prominic.net. I have seen this happen in two main cases:
At least the first case could happen in production, so we should have some error handling. I think we should display an error like this on the home page. This could be a popup, but I think it may fit better to display this as an error in the login form (since the user could have logged in with the wrong user for the environment). However, this wouldn't make sense if an external loginURL were configured (#42), so the popup is a more universal solution.