I'm developing a student project with JSF 2.2, Primefaces 5.0 and wildfly 8, and I came across the following problem:
My Application works normally when I access from a desktop device, but when I try to access from a Mobile device, I go to the login screen and when I log in, I am redirected to the same login page, not being able to access the application.
The Log does not display errors, I used log4j to follow the procedures and everything happens as it should, but at the time of redirect the application does not behave as it should.
I'm doing redirect
as follows:
return "/autenticate/escolhaperfil.xhtml?faces-redirect=true";
If anyone can help me, thank you.