AuthenticationHandler: sling always redirecting to gemotrix login page

aem, sling

Solution

You can change your default login page from felix console

http://localhost:4503/system/console/configMgr

Configure `Day CQ Login Selector Authentication Handler`, set the default login page to the path of your custom login page

Problem

I am implementing login functionality for my site using Custom AuthenticationHandler. When I give credentials and submit the form the AuthenticationHandler is always redirecting to geometrix site and asking geometrix credentials. Even I tried deactivating geometrix in my author instance, after login into my site again it is redirecting to felix console site. How to restrict other than my application pages ? Any help is highly appreciable.

Original source