← Problem Library
Security L6 SECURITY-1361 · 14 min

A Grafana SSO login succeeds and folders vanish because the IdP moved team claims into nested groups while the role mapping still reads the old flat attribute

Authentication works, yet authorization collapses because the downstream mapper still expects the earlier claim shape.

SecurityPlatform ReliabilityLevel 6Pro14 min
Scenario

An IdP schema update rolls out and later Grafana users can log in but lose access to the teams and folders they previously owned.

What to check first
  • Identify the primary failure signal in the The User Arrived With Valid Claims in a Shape the Mapper No Longer Understood scenario.
  • Separate visible symptoms from the underlying technical dependency.
  • Describe the safest recovery path and the follow-up prevention work.
Checking checklist
  1. Summarize the current impact and the last known change.
  2. Collect direct evidence from logs, runtime state, and configuration before changing anything.
  3. Separate immediate recovery from permanent prevention work.
Recovery and prevention

Inspect the live token claim structure before recreating teams or changing login config.

Questions worth viewing together
What should you verify first when A Grafana SSO login succeeds and folders vanish appears?

Community-field security problem inspired by Grafana community patterns where role mapping broke after team claims moved to a different OIDC structure. Post-login authorization failures often come from claim-shape drift after identity updates.

What usually causes A Grafana SSO login succeeds and folders vanish in production?

Teams often blame sync jobs when the mapper is just targeting the wrong attribute path.

What should you document after resolving A Grafana SSO login succeeds and folders vanish?

OIDC-backed RBAC should be retested any time the identity provider changes claim structure.