Master
Signed-off-by: aldo [email protected]
Description
The redirection logic after successful OIDC login has been adjusted to prevent redirection to the callback or login page. This prevents an infinite loop that previously led to a ‘Maximum call stack size exceeded’ error. This improves the stability of the login flow and ensures correct redirection after successful authentication.
Addressed Issue
This change fixes the issue from Issue #5098.
Checklist
- [x] I have read and understand the contributing guidelines ~ - [ ] This PR introduces new or alters existing behavior, and I have updated the documentation accordingly ~
:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: security/snyk check is complete. No issues have been found. (View Details)
@nscuro can you take a look at this? Currently preventing SSO with Entra, and a couple of other IDPs I believe.
Fixes DependencyTrack/dependency-track#5098
Related: https://github.com/DependencyTrack/frontend/pull/1380