6

Usually the errors are returned in the URL parameters of the error page. Since I've created a custom page to be redirected when a SAML error (portal user login) occurs, I would like to display the error description and detail in that page.

Thanks!

4
  • Have you tried looking for the referrer URL in the HTTP headers on your custom page?
    – metadaddy
    Oct 24, 2014 at 16:07
  • hey @metadaddy. Yup. I'm trying to use String Referrer = apexpages.currentPage().getheaders().get('Referer');
    – Seesh
    Oct 24, 2014 at 16:29
  • With what result?
    – metadaddy
    Oct 24, 2014 at 18:59
  • I have used referer URL and split method to obtain the parameter values. The custom page is saved in the CUSTOM ERROR URL field in the Single Sign-On Settings. The User profile has the custom page access. But when there is a login error, the SSO login page is redirecting to custom page and the vice versa. This is recursive and no page is opening. I’m trying to figure out where the issue is. Once the custom page is loaded then I can test it. @metadaddy you have any idea what the problem is?
    – Seesh
    Oct 24, 2014 at 22:27

1 Answer 1

2

For the infinite redirect issue, it is because you have not made the error page to be publicly available. You can make it publicly available through site "Public access" button

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .