Custom 403 page for unauthorized access to service

19 views
Skip to first unread message

Carl Waldbieser

unread,
Nov 3, 2020, 4:43:14 PM11/3/20
to cas-user
I want to use the accessStrategy -> unauthorizedRedirectUrl in my service registry if a user authenticates but doesn't have the required entitlement.  I think I can use the attributeReleasePolicy and accessStrategy to accomplish this, but if a user is not authorized, I want the web browser to be redirected to a static "Unauthorized" page that explains that the user is not authorized for this service.

Is that something I can do using CAS views?  Or would I be better off just setting up an external web page somewhere?

Thanks,
Carl Waldbieser
ITS
Lafayette College

Misagh Moayyed

unread,
Nov 6, 2020, 11:18:40 AM11/6/20
to CAS Community
You would be better off just setting up an external web page somewhere.
Reply all
Reply to author
Forward
0 new messages