When the IdP Fails: A Practical Playbook for Incident Response
If your identity provider goes down, every app that trusts it can become a lockout event in minutes. This post shows how to contain the blast radius, keep critical access alive, and restore trust without improvising under pressure.
Nesqual Tech AI
The outage you should fear most is not your app
At 09:14 UTC, a global SaaS company can still have healthy Kubernetes clusters, green API checks, and normal database latency while 38,000 employees are locked out because Okta, Entra ID, or PingOne is the failure point. That is the identity provider incident: the control plane for access is broken, and every downstream system that depends on it starts failing in ways that look unrelated.
The hard part is not restoring login pages. It is preserving minimum viable access while proving that the IdP itself is not compromised. In 2026, with passkeys, SCIM provisioning, conditional access, and just-in-time federation everywhere, your incident response plan must treat identity as critical infrastructure, not a SaaS checkbox.
Build for identity failure before it happens
A strong incident response plan for an identity provider incident starts with architecture, not alerts. You need to assume the IdP will be unavailable for 15 minutes, 2 hours, or longer, and that some failure modes will be partial: token issuance works, SAML assertions fail, admin console access is intermittent, or MFA pushes are delayed.
Define your identity blast radius
Map every dependency that breaks if the IdP is unavailable:
- Employee SSO for email, chat, code repos, ticketing, and cloud consoles
- Customer authentication for portals and APIs
- Privileged access workflows for production systems
- SCIM provisioning and deprovisioning jobs
- Break-glass access paths for incident commanders and security engineers
A practical exercise: export your app inventory and classify each integration by authentication dependency. In one enterprise review, 312 applications were grouped into four tiers. Only 19 were marked as must remain reachable during an identity provider incident, which is usually the right order of magnitude. Most organizations discover that 70-85% of their internal tools can tolerate delayed access, but 5-10 systems cannot.
Keep a second path to trust
Your architecture should include at least one of these:
- A secondary IdP with preconfigured federation for top-tier apps
- Local emergency accounts stored offline in a vault with quarterly rotation
- Hardware-backed break-glass admin credentials for cloud and virtualization platforms
- Cached authorization for read-only operations in critical internal tools
A common pattern in 2026 is dual-control identity for the top 10-20 applications, while the long tail remains single-IdP. That is cheaper than full active-active identity and still cuts recovery time from hours to minutes.
[Users] -> [Primary IdP] -> [Apps]
| |
|-- failover --> [Secondary IdP]
|
|-- emergency --> [Break-glass vault]
[SCIM] -> [Provisioning worker] -> [Directory]
\
\
-> [Queue with retry + dead-letter]
The first 15 minutes decide whether this is an outage or a breach
When the identity provider is the incident, your first job is to separate availability failure from compromise. If you treat a malicious change as a simple outage, you can extend the blast radius. If you assume breach too early, you may cut off the only people who can fix it.
Triage in a strict order
Use a fixed sequence:
- Confirm the symptom across at least two independent channels.
- Check IdP status, admin audit logs, and token issuance metrics.
- Freeze nonessential changes: SCIM sync, policy edits, and app onboarding.
- Validate break-glass access.
- Decide whether to fail over, isolate, or wait.
A useful threshold: if login success rate drops below 80% for 5 minutes across multiple regions, or token issuance latency exceeds 3 seconds p95, declare an identity incident. If admin audit logs show MFA policy edits, new federation certificates, or suspicious role grants within the last 60 minutes, treat it as a security event until proven otherwise.
Preserve evidence while restoring service
Do not restart everything blindly. Snapshot the state first:
- Export IdP audit logs for the last 24 hours
- Capture current federation metadata and signing certificates
- Record active sessions, token TTLs, and refresh token counts
- Save DNS, WAF, and conditional access policy states
A real-world example: one enterprise found that a bad automation job rotated the SAML signing certificate and invalidated 146 service integrations. The fix took 22 minutes, but the post-incident analysis took three days because logs had rolled over. Keep at least 30 days of immutable identity logs in a separate account or tenant.
# Example: capture identity incident evidence quickly
mkdir -p /incident/idp-$(date +%F-%H%M)
cp /var/log/idp/audit.log /incident/idp-$(date +%F-%H%M)/
cp /etc/federation/metadata.xml /incident/idp-$(date +%F-%H%M)/
sha256sum /incident/idp-$(date +%F-%H%M)/* > /incident/idp-$(date +%F-%H%M)/checksums.txt
Restore access without widening the attack surface
The fastest recovery is not always the safest. Your incident response plan should distinguish between restoring employee productivity and restoring privileged trust.
Use staged recovery tiers
Recover in this order:
- Incident command and security operations
- Cloud and infrastructure admins
- Customer support and business-critical operations
- General workforce access
- Optional and low-priority integrations
This ordering keeps the people who can remediate the issue online first. In practice, a well-drilled team can restore Tier 1 access in under 10 minutes using preapproved break-glass credentials, while full workforce access may take 45-90 minutes if federation caches need to repopulate.
Prefer time-boxed emergency access
Break-glass access should be:
- Unique per person
- Stored in a vault with dual approval
- Limited to 1-4 hours
- Logged to a separate SIEM pipeline
- Disabled automatically after use
For cloud platforms, use short-lived credentials with explicit scope. For example, a recovery role in AWS or Azure should allow identity admin actions, log export, and policy inspection, but not broad resource deletion.
{
"role": "idp-incident-recovery",
"duration_minutes": 120,
"permissions": [
"identity:read",
"identity:policy:read",
"identity:certificate:rotate",
"logs:export",
"support:ticket:create"
],
"deny": [
"identity:bulk-delete",
"billing:write",
"network:change"
]
}
Keep customer authentication separate if possible
If your customer login depends on the same IdP used by employees, you have doubled the blast radius. In 2026, many enterprises split workforce identity and customer identity into separate tenants or even separate providers. That design adds operational overhead, but it can reduce a single failure from taking down both support staff and customers.
A measurable target: customer login should stay above 99.95% monthly availability even if workforce SSO is degraded. If you cannot meet that today, prioritize a split tenant or a secondary auth path for customer-facing systems.
Rebuild trust in the IdP before you declare victory
Once access returns, the incident is not over. The identity provider incident may have altered trust relationships, cached tokens, or provisioning state in ways that only show up later.
Validate the control plane, not just the login page
Run a recovery checklist:
- Verify signing keys and certificate chain integrity
- Reconcile SCIM changes against source-of-truth HR data
- Check for orphaned admins, stale groups, and failed deprovisioning
- Review session revocation and refresh token invalidation
- Confirm that conditional access policies are back to baseline
A good benchmark: all Tier 1 apps should pass authentication and authorization checks within 15 minutes of service restoration, and no more than 0.5% of active users should need manual reauthentication after the incident window closes. If more users are affected, your token cache or session revocation strategy needs work.
Reconcile identity drift
Identity incidents often create drift: users who should be disabled remain active, or new employees never got provisioned. Run a post-recovery reconciliation job against HR, IAM, and app entitlements.
# Pseudocode: reconcile users after an identity provider incident
hr_users = load_hr_system()
idp_users = load_idp_export()
app_users = load_app_entitlements()
for user in hr_users:
if user.status == "terminated":
disable_in_idp(user.email)
revoke_app_access(user.email)
elif user.status == "active" and user.email not in idp_users:
create_idp_account(user)
for user in app_users:
if user.email not in hr_users:
flag_for_review(user.email)
In one 12,000-user environment, this kind of reconciliation found 214 stale entitlements and 37 accounts that had survived past termination because SCIM retries failed during the outage. That is exactly why the identity provider incident needs a cleanup phase.
Common Pitfalls
The same mistakes show up in nearly every identity provider incident.
- No break-glass test in the last quarter. If you have never used emergency access in a controlled drill, assume it will fail under pressure. Test it every 90 days.
- Single admin path. If the IdP admin console is the only way to fix the IdP, you have a circular dependency. Keep an offline recovery path.
- Overbroad emergency privileges. Temporary access that can delete policies, rotate keys, and change billing invites mistakes. Scope it tightly.
- Ignoring SCIM and deprovisioning. Login recovery is not enough. Failed syncs create security debt that lasts for months.
- No immutable logs. If audit logs live only in the same tenant, you lose evidence when you need it most.
- Treating customer and workforce identity as one system. One incident should not lock out both your employees and your paying users.
A simple control that prevents many failures: require a monthly automated test that disables the primary IdP path in staging and verifies that emergency access, logging, and app failover still work. Teams that do this typically cut recovery time by 30-50% after the second or third drill.
Measure readiness like an engineer, not a policy writer
If you cannot measure identity resilience, you cannot improve it. Track metrics that reflect both access and trust.
The metrics that matter
Use these as a starting set:
- Mean time to restore Tier 1 access: target under 15 minutes
- IdP login success rate during incident: target above 95% for unaffected regions or secondary paths
- Token issuance p95 latency: target under 500 ms in normal operation, under 1.5 seconds during failover
- Break-glass activation time: target under 5 minutes
- SCIM reconciliation lag: target under 30 minutes after recovery
A mature program also tracks the percentage of critical apps with a documented non-IdP recovery path. If that number is below 80%, you are still exposed.
Run a tabletop that includes the IdP team and the SOC
Your best drill is one where the identity team, SOC, cloud platform owners, and application owners all participate. Use a scenario such as: "Primary IdP admin account locked, MFA push service degraded, and federation signing cert expired within the same hour." That combination forces real decisions about trust, not just uptime.
A good tabletop output includes:
- Named decision makers
- Exact commands or UI steps for recovery
- Communication templates for users and executives
- A rollback plan if the recovery path fails
Key Takeaways
- Treat the identity provider incident as a control-plane failure, not a normal app outage.
- Predefine Tier 1 apps, break-glass access, and a secondary trust path before you need them.
- In the first 15 minutes, separate outage from compromise using logs, policy changes, and token metrics.
- Restore privileged access first, then workforce access, then low-priority integrations.
- Reconcile SCIM, sessions, certificates, and entitlements after service returns.
- Drill the full recovery path every 90 days and measure time to restore, not just uptime.
This article was written by an AI system and published pending human review. Verify anything you intend to act on.
Written by
Nesqual Tech AI
Nesqual Tech
Have a project in mind?
Get an instant AI price estimate for it, or talk directly to our team.
One email a month on what we learn building with AI