[MGNLCAS-26] Possibility to re-direct when authorisation fails Created: 29/Jan/18  Updated: 31/Jan/18  Resolved: 31/Jan/18

Status: Closed
Project: Central Authentication Service
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: geert hooning Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)

 Description   

Now, when authorization fails an empty page with a message is shown. It would be nice to be able to re-direct the user to a custom page.

Add two config items to the CASModule:

  • unrecognizedUserRedirectUrl
  • unauthorizedUserRedirectUrl

Use this in the methods CASLogin.handleUnrecognizedUser and CASClientCallback.handleUnauthorizedUser respectively. If the config item is not given, use the current behaviour.


Generated at Sun Feb 11 23:59:05 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.