In latest trunk, no error is displayed when reproducing
The same steps should be followed as for
OPENAM-14808, except that AM deployed should be 7.0.0 snapshot.
Ensure that when using the same browser to login to multiple servers either:
1) The cookie domains do not overlap (e.g. internal1.forgerock.com and internal2.forgerock.com, instead of forgerock.com and internal.forgerock.com)
2) Use separate browser instances of incognito windows such that cookies are not shared across the two servers.
In processLoginRequest.js, the code arrives at the block after 'SessionManager.login' (as a result of calling SessionManager.login and through to RESTLoginHelper.getLoggedUser (which results in a 401 response) with the value for 'reason' being populated (structure as per ErrorsHandler.handleError function error variable. As a result this is passed to the EventManager.sendEvent and that results in no message displayed.
Comparing with AM 18.104.22.168, the code arrives at the same point with the reason variable being undefined. This then results in the EventManager.sendRequest with "authenticationFailed".