Hi,
I am trying to login using loginService.loginTrusted method.
So i have put the trustedClientPassword in the properties file as mentioned here: https://doc.cuba-platform.com/manual-6.6/login.html
It shows the user has logged in but it does not open the application.
To test the loginTrusted i have extended the login page and used optionGroups, if the user selects the visitor option loginTrusted should be called
My Login Trusted Code
try {
session = loginService.loginTrusted(login,
webAuthConfig.getTrustedClientPassword(), Locale.ENGLISH);
} catch (LoginException e) {
throw new RuntimeException("Unable to login");
}
Am I doing something wrong? Is there perhaps another place i should call the loginTrusted and not in the extended login page?