How can I display a more friendly error page

Cantor, Scott cantor.2 at osu.edu
Thu Dec 5 15:43:09 EST 2013


On 12/5/13, 2:53 PM, "Bryan E. Wooten" <bryan.wooten at utah.edu> wrote:

> 
> 
>After successful CAS login they see this:

They should never see a Shib Logo unless you don't alter the default error
page (plus it's gone from 2.4.0, but that's beside the point).

The error page is unfortunately global, and the only way to customize
anything now is with error message testing.

I posted an example of that using Velocity (which I favor over JSP for the
usual reasons).

https://wiki.shibboleth.net/confluence/display/SHIB2/IdPErrorVelocity

>However, if the bookmark looks like this:
>https://test.go.utah.edu/cas/login?service=https%3A%2F%2Ftestidp.acs.utah.
>edu
>They see this:
>University of Utah Test Identity Provider Server

I have no idea what that is.

> 
>How can I make the IDP return the second page for both URL patterns?

I would guess you can't unless you make whatever's returning the second
page do the same thing as what the error handler in the IdP does.

Note that I know little about CAS and less about how it's linked to the
IdP, so I don't know what those URLs necessarily do or why the second is
actually an error (if it is).

The first one is a case of bookmarking the Authn engine servlet in the IdP.

-- Scott




More information about the users mailing list