Skip to content

Conversation

@cslzchen
Copy link
Contributor

@cslzchen cslzchen commented Sep 3, 2025

Ticket

https://openscience.atlassian.net/browse/ENG-8792

Purpose

Force CAS to throw exceptions and display error pages without actually going through the expected web flow.

Supports both lang.RuntimeException and javax.security.auth.login.LoginException

  • It's OK to merge into feature branch now. However, must make this feature only enabled for non-production environments before release.

Changes

Force CAS to throw exceptions and display error pages without actually going through the expected web flow.

org apereo cas services UnauthorizedServiceException io cos cas osf authentication exception InstitutionSsoSelectiveLoginDeniedExceptio

Dev Notes

N/A

QA Notes

N/A

Dev-Ops Notes

N/A

@cslzchen cslzchen marked this pull request as draft September 3, 2025 17:54
@cslzchen cslzchen changed the base branch from develop to feature/angular-like-pages September 3, 2025 17:54
@cslzchen cslzchen changed the title [Ticket TBD] PoC impl of force throw exceptions and display error pages [ENG-8792] Force CAS to throw exceptions and display error pages without actually going through the expected web flow Sep 3, 2025
@cslzchen cslzchen marked this pull request as ready for review September 3, 2025 20:59
Copy link
Contributor

@futa-ikeda futa-ikeda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will make verifying the other pages much easier 💯

@cslzchen cslzchen changed the title [ENG-8792] Force CAS to throw exceptions and display error pages without actually going through the expected web flow [ENG-8792] Force CAS to throw exceptions and display error pages Sep 4, 2025
@cslzchen cslzchen merged commit 9da8030 into CenterForOpenScience:feature/angular-like-pages Sep 4, 2025
1 check passed
cslzchen added a commit that referenced this pull request Sep 30, 2025
…-pages

Update CAS FE to match angular OSF

* [ENG-8793] [ENG-8785] [ENG-8793] Remove branded login + Update no service pages + Update OAuth workflow (#98)
* [ENG-8788] [ENG-8786] Institutions page and TOS page redesign (#99)
* [ENG-8789] [ENG-8790] [ENG-8791] Exception Page rework (#95)
* [ENG-8787] Username/password and 2FA login page (#97)
* [ENG-8791] Inserting CasProperties into Spring Dispatcher and Improve header and left pane UI/UX (#92)
* [ENG-8927] Add dev mode for forcing errors/exceptions (#93)
* [NOTICKET] Remove OSF Collections URL from cas.properties (#91)
* [ENG-8556] Update CAS pages to match Angular update: header, footer and left pane (#88)
* [ENG-8754] Force throw a few HTTP errors for testing purpose (#90)
* [ENG-8792] Force CAS to throw exceptions and display error pages (#87)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants