Hi,
I am looking to set a default redirect url, irrespective of redirect uri or resource which aem redirects automatically incase session is not active.
So, no matter from where the user is coming to login page, it should always go to a specific page post loggin in
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
You can use the OSGI config "CQ Root Mapping".
Read more here:
https://github.com/AdobeDocs/experience-manager-65.en/blob/main/help/sites-deploying/osgi-configurat...
https://rashidjorvee.blogspot.com/2017/09/how-to-change-default-start-page-in-aem.html
Hope this helps
Hi,
You can use the OSGI config "CQ Root Mapping".
Read more here:
https://github.com/AdobeDocs/experience-manager-65.en/blob/main/help/sites-deploying/osgi-configurat...
https://rashidjorvee.blogspot.com/2017/09/how-to-change-default-start-page-in-aem.html
Hope this helps
@ashish_mishra1 Are you talking about the SAML Authentication for the end users?
we are using okta as SSO provider now, when the redirect is coming to aem, it has referrer property, we are trying to ignore referrer value , as it can be manipulated.
Hi, To meet the specified requirement you can use the Filter interface. Make a class that implements the Filter interface. In that class, override the doFilter() method and write the logic there. Generally, after successful login we store a token in the cookies and its availability and data in it is used to make sure a user has logged in. You can play with this token and page URLs to redirect the user to a certain page. For the redirection, you can use sendRedirect() method. The speciality of filter is that it is always called when a page loads.
@ashish_mishra1 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Like
Replies