Customizing page returned if user does not have access to any resources but is SAML authenticated | Community
Skip to main content
Level 4
March 26, 2017
Solved

Customizing page returned if user does not have access to any resources but is SAML authenticated

  • March 26, 2017
  • 1 reply
  • 717 views

Currently, if a user has no access on the repository but since SAML is configured is authenticated and posted back to AEM instance, it shows a default 404/403 page. We want to customize that page. However, the documentation here mentions that it's not recommended. What's the best way to display customized error for such a scenario? 

https://docs.adobe.com/docs/en/aem/6-2/develop/platform/customizing-errorhandler-pages.html

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 MC_Stuff

Hi Chetan,

Which statement are you referring in docs? I do not see such recommendation and btw steps in document is correct way to customize 404/403. 

Coming to SAML from aem 6.2 on wards you can customize the error page. By default it goes to login page with error message.  If you are using previous version please reach out to support team to get feature pack to backport custom error handling page.

Thanks,

1 reply

MC_Stuff
MC_StuffAccepted solution
Level 10
March 26, 2017

Hi Chetan,

Which statement are you referring in docs? I do not see such recommendation and btw steps in document is correct way to customize 404/403. 

Coming to SAML from aem 6.2 on wards you can customize the error page. By default it goes to login page with error message.  If you are using previous version please reach out to support team to get feature pack to backport custom error handling page.

Thanks,