Commit Graph

4 Commits

Author SHA1 Message Date
Jared McCannon
acf0c48a00 [PM-37259] - Update Sso Request Validator (#7676)
* Updated SsoRequestValidator to leverage OrgId from req

* Undoing unrelated change

* Updating tests. Removed unused query and tests. Updated SsoRequestValidator to leverage OrgId and retain multiple match hardening.

* updated xml. updated ssoorgids to orgids

* fixing some issues
2026-05-21 08:16:57 -05:00
Vincent Salucci
9b1d82c1e9 [PM-19790] [PM-19791] Remove policy requirements feature flag references and definition (#7596)
* chore: remove ff false conditional in WebAuthnController, refs PM-19790

* chore: remove policy reqs flag ref, imports, instantiation, refs PM-19790

* chore: clean up unused imports, instantiations, refs PM-19790

* chore: remove policy reqs ff references, refs PM-19790

* remove policy reqs ff refs from SsoRequestValidatorTests, refs PM-19790

* chore: remove unused method in WebAuthnController and update imports, refs PM-19790

* fix: update WebAuthnControllerTests to account for policy reqs ff removal, refs PM-19790

* fix: update SsoRequestValidatorTests to remove IPolicyService checks, refs PM-19790

* chore: remove policy reqs ff definition, refs PM-19790

* chore: remove unused policy service constructor parameter, refs PM-19790

* chore: removed unnecessary comment about feature flag state from SsoRequestValidatorTests, refs PM-19790
2026-05-08 10:07:56 -05:00
Thomas Rittson
99454f5fe7 [PM-33216] Finalize RequireSsoPolicyRequirement (#7173)
* Add more efficient sproc to retrieve PolicyDetails
  for a single user. This closely matches the existing sproc
  used by PolicyService and should be performant enough
  to be used in the login flow

* Maintain feature flag for this critical path
2026-03-17 08:30:51 +10:00
Ike
8a67aafbe5 [PM-1632] Redirect on SsoRequired - return SsoOrganizationIdentifier (#6597)
feat: add SSO request validation and organization identifier lookup

- Implement SsoRequestValidator to validate SSO requirements
- Add UserSsoOrganizationIdentifierQuery to fetch organization identifiers
- Create SsoOrganizationIdentifier custom response for SSO redirects
- Add feature flag (RedirectOnSsoRequired) for gradual rollout
- Register validators and queries in dependency injection
- Create RequestValidationConstants to reduce magic strings
- Add comprehensive test coverage for validation logic
- Update BaseRequestValidator to consume SsoRequestValidator
2025-11-30 16:55:47 -05:00