Sync vault notes: April-November 2026 sessions, projects, and architecture
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
fe4fe656be
commit
994c7ae577
379 files changed
+55216
-107
No files matched your search
@@ -0,0 +1,74 @@
|
||||
# 3834 Bank CMG – Mortgage Integration SAML Troubleshooting Log
|
||||
|
||||
## Summary
|
||||
This note captures a full troubleshooting session between CMG and Q2 regarding SAML SSO failures during mortgage integration.
|
||||
|
||||
## Key Issues Identified
|
||||
1. **Double-wrapped SAMLResponse**
|
||||
- HTML auto-submit page was Base64 encoded instead of raw SAML XML.
|
||||
- Caused Okta error: "The incoming message is not a valid SAMLResponse."
|
||||
|
||||
2. **ACS URL Change Impact**
|
||||
- Migration from:
|
||||
- Old: https://dev-auth.cmghomeloans.com/sso/saml2/0oar2b66xc84rpDmE1d7
|
||||
- New: https://dev-cmg.oktapreview.com/.../sso/saml
|
||||
- Introduced mismatch between Destination and Recipient.
|
||||
|
||||
3. **SAML Field Mismatches**
|
||||
- Destination updated, Recipient initially not updated.
|
||||
- Audience remained constant but may not match new Okta app context.
|
||||
|
||||
4. **Signature Considerations**
|
||||
- Response is signed.
|
||||
- Assertion is NOT signed.
|
||||
- Potential mismatch if Okta requires signed assertions.
|
||||
|
||||
5. **Okta Validation Failure**
|
||||
- Error: "Unable to validate incoming SAML Assertion"
|
||||
- Indicates failure AFTER request reached Okta.
|
||||
|
||||
6. **Geo Blocking Consideration (India)**
|
||||
- Ruled out as primary issue.
|
||||
- Reason: request reached Okta and failed validation (not blocked at network layer).
|
||||
|
||||
7. **Post-SSO Application Errors**
|
||||
- Once SSO succeeded, app showed UI errors.
|
||||
- Root cause shifted to downstream APIs (404 / 403 / 500 possibilities).
|
||||
|
||||
## Diagnostic Framework
|
||||
|
||||
### Layered Debug Approach
|
||||
1. Transport (POST vs redirect)
|
||||
2. SAML XML validity
|
||||
3. Endpoint alignment (ACS / Recipient / Destination)
|
||||
4. Signature + certificate
|
||||
5. Okta configuration
|
||||
6. Network / policy
|
||||
|
||||
## Key Checks
|
||||
- SAMLResponse must start with: `PHNhbWxwOlJlc3BvbnNl`
|
||||
- Destination == Recipient == ACS URL
|
||||
- Audience matches Okta SP Entity ID
|
||||
- Certificate matches Okta config
|
||||
- Assertion signed if required
|
||||
|
||||
## Final Likely Causes (Current State)
|
||||
- Audience mismatch due to new routed ACS URL
|
||||
- Assertion signing requirement mismatch
|
||||
- Certificate mismatch
|
||||
|
||||
## Recommended Next Steps
|
||||
1. Confirm Okta app Audience URI for new ACS route
|
||||
2. Confirm whether signed assertions are required
|
||||
3. Validate certificate alignment
|
||||
4. Pull exact Okta System Log error details
|
||||
|
||||
## One-Line Root Cause Summary
|
||||
Failure occurs during SAML assertion validation due to mismatch between SAML payload and Okta application configuration following ACS URL change.
|
||||
|
||||
---
|
||||
|
||||
## Notes
|
||||
- SSO itself eventually succeeded → confirms earlier issues resolved
|
||||
- Remaining issues shifted to application/API layer
|
||||
|
||||
Reference in new issue
Block a user