Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

Login component doesn't return to login page on 403

Avatar

Level 4

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... 

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

1 Accepted Solution

Avatar

Correct answer by
Level 10

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

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

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