TL;DR: PlainID says Duo SSO can now call its policy engine during token issuance so OIDC, OAuth and SAML claims reflect live authorization instead of stale configuration, and the same pattern can extend to MCP tool access decisions. Static tokens assume access stays valid after login; issuance-time authorization shifts trust to the moment the token is minted.
At a glance
What this is: This is an analysis of how real-time authorization at SSO sign-in changes the meaning of the token itself by making claims reflect the current policy decision at issuance.
Why it matters: It matters because IAM teams have to decide whether authorization lives in the application, the IdP, or a separate policy layer, especially when humans, service-like tools, and AI agents all consume the same session.
👉 Read PlainID's analysis of real-time authorization at SSO sign-in
Context
Real-time authorization moves part of the access decision into the token-issuance moment, rather than leaving the application to interpret claims that may already be out of date. In practical terms, this changes what an SSO token represents: not just identity proof, but a current authorization result tied to live policy and session context.
For IAM and IGA teams, the gap is well known. Static claims are usually mapped at configuration time, then drift as roles, context, and data sensitivity change. That creates a governance problem as much as a technical one, because the access evidence captured at login no longer matches the state that existed when the request was made.
The same design pressure now extends beyond human sign-in. When runtime decisions also govern tool use for AI agents or other non-human workflows, the token issuance point becomes a policy checkpoint, not just an authentication event.
Key questions
Q: How should teams handle authorization when access decisions move into SSO sign-in?
A: Teams should treat sign-in as a policy checkpoint, not just an authentication event. The key question is which decisions belong at issuance time and which can safely remain static. If the claims can drift with context, role, or sensitivity, they should be evaluated live and written into the token before it is presented to the application.
Q: Why do static SSO claims become risky when policy changes during a session?
A: Static claims are risky because they assume the user’s access state remains unchanged after login. When role, context, or data sensitivity shifts, the application is still trusting a stale claim. That creates an authorization lag, which can allow access that no longer matches the live policy decision.
Q: What breaks when applications rely on token claims that were set at configuration time?
A: The break is freshness, not authentication. The application may still trust a valid token, but the embedded claims can be out of date with the current authorization state. That mismatch is especially problematic where data sensitivity or delegated access can change faster than token expiry.
Q: How do teams decide whether authorization should live in the IdP or the application?
A: Use the IdP for decisions that must be consistent at sign-in and shared across many applications, and keep application logic for app-specific checks that depend on local context. If the decision needs to be portable, auditable, and current at the moment of token issuance, the IdP is the better control point.
How it works in practice
How inline hooks turn token issuance into an authorization checkpoint
Inline hooks are synchronous callout points inside an identity provider’s token pipeline. In this pattern, the IdP pauses before minting the token, sends the user and session context to an external policy engine, receives claims or decisions back, and then signs the token with those results. That means the token can carry dynamic attributes rather than only static mappings created at configuration time. The architectural change matters because downstream applications consume the token without needing a direct integration to the policy engine. The authorization decision is therefore embedded upstream, at the moment the token is created.
Practical implication: teams must treat token issuance as a control point and define which claims are safe to mint dynamically.
Why static claims drift away from live policy
Traditional SSO tokens often inherit claims from directory groups, role mappings, or other precomputed attributes. Those models work only if the permission state stays stable between the moment the claim is assigned and the moment the token is used. In real enterprises, that assumption breaks quickly because user context, data sensitivity, business role, and delegated access can change faster than the token lifecycle. The result is an authorization lag: the application is making decisions from claims that no longer reflect the current policy state. Runtime evaluation reduces that lag by tying the token to a fresh policy decision.
Practical implication: IAM teams should identify which claims are too volatile to remain static across the token lifetime.
How the pattern extends to OIDC, SAML and MCP tool access
The model is not limited to one protocol. OIDC and OAuth tokens can carry enriched claims, SAML assertions can be modified before signing, and the same policy pattern can govern runtime permit-or-deny decisions for agent tool access. That last point is important because MCP-style tool use often requires the access decision to be tied to the session, the user intent, and the sensitivity of the requested action. The shared theme is policy portability across consumption points, with the IdP acting as the issuance gateway and the policy engine supplying the current decision.
Practical implication: architecture teams should map which protocols need enriched assertions and which runtime decisions should stay separate from the application.
NHI Mgmt Group analysis
Real-time token issuance is shifting authorization from application logic to identity infrastructure. That does not eliminate authorization complexity, but it changes where the decision is made and where the evidence lives. The practical consequence is that the token becomes a policy artifact, not just a session artifact, and identity teams have to govern that shift explicitly.
Static claims create an authorization lag that governance teams can no longer ignore. Claims copied from configuration time assume the user’s permission state will remain stable until the token expires. In environments where role, context, and data sensitivity move constantly, that premise no longer holds, so the control problem is not just access enforcement but access freshness.
Token trust is becoming time-sensitive trust. The more often policy is evaluated at issuance, the less value there is in treating claims as durable truth across the session. That has implications for auditability, exception handling, and the division of labour between IdP, policy engine, and application owners.
Real-time authorization is also a bridge pattern between human IAM and NHI governance. Once the issuance event can consult current policy, the same control plane can serve human users, delegated workflows, and agent-mediated actions without inventing a separate access model for each. That makes policy consistency more achievable, but only if teams stop assuming authorization is a one-time attribute assignment.
Runtime authorization will force enterprises to reclassify what they consider an access record. An issued token no longer merely proves a login happened; it captures a policy decision made against a live session. For regulated environments, that raises the bar for how identity teams prove who was allowed to do what, and why, at the exact moment of access.
From our research library:
- Across one million observed logins, 1 in 4 were password-based rather than SSO, 2 in 5 were not protected by MFA and 1 in 5 used a weak, breached or reused password.
What this signals
Issuance-time authorization changes the control problem from claim mapping to claim freshness. IAM teams that have treated token contents as durable need to reassess how much business logic they are embedding in SSO assertions and whether that logic can survive context changes inside the same session.
Policy portability is becoming a design requirement, not a convenience. Once the same control plane must serve human sign-in and delegated tool use, the architecture has to keep authorization logic independent of any single application. That is where identity governance starts to overlap with runtime access control, not just access provisioning.
For practitioners
- Define which claims must be evaluated at issuance Separate stable identity attributes from claims that change with role, context, or data sensitivity. Anything that can drift during a session should be a candidate for live policy evaluation rather than static mapping.
- Treat the token pipeline as a governance boundary Document who owns the policy decision, who signs the token, and which audit record is authoritative when access is later reviewed. The point is to make issuance-time evidence part of the control design.
- Map runtime decisions for agent and tool access Use the same policy source for human sign-in and delegated tool use when an agent or workflow acts on behalf of a user. That keeps the decision logic consistent across the human-to-machine handoff.
- Review application assumptions about claim stability Identify applications that treat token claims as durable for the full session and verify whether they can handle dynamic claims without breaking downstream authorization logic.
- Align audit evidence to the moment of issuance Ensure logs show the live policy inputs, the decision returned, and the resulting token contents so reviewers can reconstruct why access was granted at sign-in.
Key takeaways
- Real-time authorization at SSO sign-in makes the token reflect a live policy decision instead of a stale mapping from earlier configuration.
- The main governance issue is authorization freshness, because static claims can drift away from the user’s actual access state during the session.
- IAM teams should decide which decisions belong at token issuance, then align audit evidence and application assumptions to that boundary.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP API Security Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | IA-5 — Authenticator Management | The article centres on token issuance and the freshness of authentication-derived claims. |
| Recommendation — Apply IA-5 to ensure issued tokens and authenticators reflect current access state, not stale mappings. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | Real-time authorization at sign-in is fundamentally about current permissions and entitlements. |
| Recommendation — Use PR.AA-05 to align authorization decisions with live policy at the time of access. | ||
| OWASP API Security Top 10 | API2 — Broken Authentication | The same trust pattern affects token-based access decisions consumed by applications and tools. |
| Recommendation — Audit token consumers for assumptions that authenticated access remains authorized for the whole session. | ||
Key terms
- Inline Hooks: Inline hooks are synchronous callouts inside an identity provider flow that let an external system contribute data or decisions before a token or assertion is issued. In this context, they move authorization closer to issuance time so claims can reflect live policy rather than older configuration.
- Authorisation Freshness: Authorisation freshness is the degree to which current access decisions reflect the present business state of the identity subject. It matters because secure authentication does not prevent risk if roles, groups, or entitlements remain stale after a mover or leaver event.
- Token Issuance: Token issuance is the process of creating OAuth2 or OpenID Connect tokens that represent an authenticated identity for downstream systems. It is narrower than identity management because it focuses on brokered credentials and session flow, not user lifecycle, access policy, or application authorization.
What's in the full announcement
PlainID's full article covers the operational detail this post intentionally leaves for the source:
- How Duo Inline Hooks evaluate PlainID policy during token issuance in OIDC and OAuth flows
- How SAML Assertion Inline Hooks modify assertions before signing for downstream applications
- How the External Authorization Hooks model applies to MCP tool access decisions
- How the runtime policy flow changes audit evidence for regulated enterprises
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on July 14, 2026.
Updated on October 7, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org