Fórum
Liferay login url /c/portal/login with two factor authentication
Robert Meissner, modificado 7 Anos atrás.
Liferay login url /c/portal/login with two factor authentication
Junior Member Postagens: 76 Data de Entrada: 26/02/15 Postagens Recentes
Hi,
i have created a custom login that leads from my custom login.jsp to another token.jsp where a user has to enter the token, that is sent by mail.
I have also created two struts actions, the one with
struts-action-path /login/login
and the other with
struts-action-path /login/token
This works fine, but now I have the following problem:
When i am inside my portal, lets say
copy this url and then logout. Now i enter this url and it creates
i get too many redirects error. I need the portal to change
/c/portal/login to /c/portal/login/login
i have already added to portal-ext.properties
auth.login.url=/login/login
auth.login.site.url=/login/login
but it had no effects.What else can i do?
i have created a custom login that leads from my custom login.jsp to another token.jsp where a user has to enter the token, that is sent by mail.
I have also created two struts actions, the one with
struts-action-path /login/login
and the other with
struts-action-path /login/token
This works fine, but now I have the following problem:
When i am inside my portal, lets say
https://portal.mydomain.com/group/control_panel?refererPlid=24381&controlPanelCategory=users&p_p_id=125
copy this url and then logout. Now i enter this url and it creates
https://portal.mydomain.com/c/portal/login?redirect=%2Fgroup%2Fcontrol_panel%3FrefererPlid%3D24381%26controlPanelCategory%3Dusers%26p_p_id%3D125&p_l_id=21755
i get too many redirects error. I need the portal to change
/c/portal/login to /c/portal/login/login
i have already added to portal-ext.properties
auth.login.url=/login/login
auth.login.site.url=/login/login
but it had no effects.What else can i do?
Robert Meissner, modificado 7 Anos atrás.
RE: Liferay login url /c/portal/login with two factor authentication
Junior Member Postagens: 76 Data de Entrada: 26/02/15 Postagens Recentes
I finally found, that i can use the same struts action for both, login and token action. This is now both encapsulated in LoginStrutsPortletAction.
Bogdan Bilcan, modificado 6 Anos atrás.
RE: Liferay login url /c/portal/login with two factor authentication
New Member Postagens: 2 Data de Entrada: 15/11/17 Postagens Recentes
Hello,
Can you help me build a similar plugin. I want to integrate the Google authenticator token based on some qrcode and time sync between server and Google app that will generate the token. But first I need the base project for the login part.
I'm really new to liferay and all the web application programming structure.
Thanks.
Can you help me build a similar plugin. I want to integrate the Google authenticator token based on some qrcode and time sync between server and Google app that will generate the token. But first I need the base project for the login part.
I'm really new to liferay and all the web application programming structure.
Thanks.