An IdP schema update lands and OpenSearch users authenticate successfully but fall back to minimal permissions.
An OpenSearch role mapping looks correct and SSO users still lose access
Authentication succeeds, yet authorization fails because the plugin no longer reads the actual backend role claim structure.
Scenario
What to check first
- Identify the primary failure signal in the The Roles Were in the Token, Just Not Where the Plugin Still Looked scenario.
- Separate visible symptoms from the underlying technical dependency.
- Describe the safest recovery path and the follow-up prevention work.
Checking checklist
- Summarize the current impact and the last known change.
- Collect direct evidence from logs, runtime state, and configuration before changing anything.
- Separate immediate recovery from permanent prevention work.
Recovery and prevention
Inspect the live token claim structure before widening backend roles or local permissions.
Questions worth viewing together
Community-field security problem inspired by OpenSearch community patterns where role mapping failed after IdP claims changed structure. An auth token can contain the right roles under the wrong shape for a plugin that expects the legacy claim path.
Teams often blame expired caches when the plugin simply points at the wrong claim structure.
SSO upgrades should validate both claim names and claim nesting shape against downstream role mappers.
Similar cases seen in the field