Login component doesn't return to login page on 403 | Community
Skip to main content
JS_Bournival
Level 3
October 16, 2015
Solved

Login component doesn't return to login page on 403

  • October 16, 2015
  • 1 reply
  • 780 views

Hi, we developed a custom login page, to be used with a "closed user group".

Works fine for successful login, but in the case of a 403, we had that ugly message displayed with the HTTP code.  So I found this post:

http://54.225.203.177/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.topic.1.html/forum__qfm9-hello_i_am_havin.html 

It tells me to add a mapping to the Login Selector Handler. Seem to fix the ugly message, but instead, upon an unsuccessful login, I am presented with a white page with only the error message «User name and password do not match».  I would have liked to be presented with the login page again, with the login component on it displaying the error message.

What is wrong here? 

Thanks in advance.

JS

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

Justin covers different ways this can be done in this Ask the AEM Experts session: 

Ask the Community Expert February Session: Building login-based sites in AEM

1 reply

smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

Justin covers different ways this can be done in this Ask the AEM Experts session: 

Ask the Community Expert February Session: Building login-based sites in AEM