ION DocsV3
  • Architecture
    • ION Architecture V2
      • ION V2 — Architecture Overview
      • V2 context
        • V2 capacity model
        • V2 constraints
        • V2 integration boundaries
        • V2 requirements
        • V2 solution strategy
      • V2 Structural Design
        • ION V2 Landscape
        • ION V2 Platform Views
          • ION V2 Delivery and Runway
          • ION V2 Incident-Processing Pipelines
          • ION V2 Platform Networking
          • ION V2 Platform Observability
          • ION V2 Platform Security
        • ION V2 System Context
        • ION V2 Systems
          • Alya System Topology
          • Cogs System Topology
          • Ion IQ System Topology
          • Kingsman System Topology
          • Pigeon System Topology
          • Veritas System Topology
          • Watchtower System Topology
      • V2 evolution and platform lineage
        • Tiberium Origins
          • Tiberium Architecture Overview
          • Tiberium Components Architecture Overview
        • Voyager and the V2 Merge
          • Voyager Architecture Overview
          • Voyager Identity Architecture Overview
          • Voyager Services Architecture Overview
      • V2 Platform Architecture
        • Alya Workbench
          • Mission Brief: Alya (Workbench for Cyber Defenders)
        • Asset Discovery
        • Automation
        • Customer Communications
          • Notification and Escalation Design
        • Reporting and Dashboards
        • Vulnerability Mitigations
      • V2 Well-Architected
        • V2 Reliability
          • Availability Architecture
        • V2 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V2 Security Architecture
          • Teams Notification Security
          • Customer Data and PII
          • V2 Identity
            • Applications and Authorization
            • V2 Identity Architecture
            • Microsoft Entra ID
            • V2 Identity Standard
            • V2 Identity Implementation
              • Application Registration
              • Application Roles
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Managed Identity
            • V2 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Portal Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Customer Environment Access Architecture
            • Customer Environment Access Guidelines
            • Customer Environment Access How-to
    • ION Architecture V3
      • ION V3 Architecture Overview
      • V3 context
        • V3 capacity model
        • V3 constraints
        • V3 integration boundaries
        • V3 requirements
        • V3 solution strategy
      • V3 Structural Design
        • Data and events
          • Archival and retention
          • Event model
          • Event sourcing
          • Event store
          • Micro-frontend interaction
          • Recovery and disaster recovery
          • Replay and reconstruction
          • Reporting and customer analytics
          • Event-sourcing requirements
          • Snapshots
          • UI interaction
        • ION v3 domains
          • Assets domain
            • Assets domain flows
            • Assets domain implementation
            • Assets domain model
          • Customer Collaboration domain
            • Customer Collaboration domain flows
            • Customer Collaboration domain implementation
            • Customer Collaboration domain model
          • Incident domain
            • Incident domain flows
            • Incident domain implementation
            • Incident domain model
          • Investigation domain
            • Investigation domain flows
            • Investigation domain implementation
            • Investigation domain model
          • Remediation domain
            • Remediation domain implementation
            • Remediation domain model
          • Ticket domain
            • Ticket domain flows
            • Ticket domain implementation
            • Ticket domain model
        • ION V3 Landscape
        • ION V3 Platform Views
          • Internal API
            • Internal API architecture
            • Internal API consumer guide
            • Internal API identity and access
            • Internal API implementation
          • Micro-Frontends
            • Micro-Frontends architecture
            • Micro-Frontends capability service (Signet)
            • Micro-Frontends composition
            • Micro-Frontends identity and access
            • Micro-Frontends implementation
            • Micro-Frontends real-time (SignalR)
            • Micro-Frontends routing and ingress
            • Shells and MFEs
          • SOAR Integration
            • SOAR Integration architecture
            • SOAR Integration customer onboarding
            • SOAR Integration Identity and Access Design
            • SOAR Integration implementation
            • SOAR Integration operations
        • ION V3 System Context
        • ION V3 systems
          • Alya
          • Cogs
          • ION IQ
          • Kingsman
          • Pigeon
          • Veritas
          • Watchtower
      • V2 to V3 evolution
        • V2 to V3 architecture delta
        • V2 to V3 decision changes
        • V2 to V3 migration guidance
        • V2 to V3 service impact
      • Well-Architected
        • Cost Optimization
          • Cost Governance
            • Cost Governance Architecture
            • Cost Governance Guidelines
            • Cost Governance Implementation
          • SKU Strategy
            • SKU Strategy Architecture
            • SKU Strategy Guidelines
            • SKU Strategy Implementation
        • Operational excellence
          • Audit Logs
            • Audit Logs Architecture
            • Audit Logs Guidelines
            • Audit Logs Implementation
          • CI/CD Runway
            • CI/CD Runway Architecture
            • CI/CD Runway Guidelines
            • CI/CD Runway Implementation
          • Feature Flags
            • Feature Flags Architecture
            • Feature Flags Guidelines
            • Feature Flags Implementation
          • Incident management
            • Incident management architecture
            • Incident management guidelines
            • Incident management implementation
          • Azure Landing Zone
            • Azure Landing Zone Architecture
            • Azure Landing Zone Guidelines
            • Azure Landing Zone Implementation
          • Notifications
            • Notifications Architecture
            • Notifications Guidelines
            • Notifications Implementation
          • Observability
            • Observability Architecture
            • Observability Guidelines
            • Observability Implementation
        • Performance efficiency
          • Capacity, sizing, and scaling
            • Capacity, sizing, and scaling architecture
            • Capacity, sizing, and scaling guidelines
            • Implement capacity, sizing, and scaling
          • UI responsiveness
            • UI responsiveness architecture
            • UI responsiveness guidelines
            • Implement UI responsiveness
        • V3 reliability
          • Application resilience patterns
          • Critical flows
          • Customer reliability assurance
            • ION Platform reliability and service continuity
            • Customer reliability slides
          • Disaster recovery
            • Disaster recovery architecture
            • Disaster recovery guidelines
            • Disaster recovery implementation
              • DR implementation: API Management
              • DR implementation: App Configuration
              • DR implementation: Application Gateway
              • DR implementation: Azure SQL Database
              • DR implementation: Container Apps
              • DR implementation: Container Registry
              • DR implementation: Cosmos DB
              • DR implementation: Event Hubs
              • DR implementation: Azure Front Door
              • DR implementation: Function Apps
              • DR implementation: Key Vault
              • DR implementation: Log Analytics and Application Insights
              • DR implementation: MySQL Flexible Server (Temporal)
              • DR implementation: PostgreSQL Flexible Server
              • DR implementation: Azure Managed Redis
              • DR implementation: Service Bus
              • DR implementation: SignalR
              • DR implementation: Storage accounts
            • Operational-data replication
            • Disaster recovery operations
          • Edge and routing
            • Azure Application Gateway
              • Azure Application Gateway architecture
              • Azure Application Gateway guidelines
              • Azure Application Gateway implementation
              • Azure Application Gateway resiliency
              • Azure Application Gateway security
            • Azure Front Door
              • Azure Front Door architecture
              • Azure Front Door guidelines
              • Azure Front Door implementation
              • Azure Front Door resiliency
              • Azure Front Door security
          • Event-store disaster recovery (moved)
          • Failure mode analysis
          • Graceful degradation
            • Graceful degradation architecture
            • Graceful degradation guidelines
            • Graceful degradation implementation
          • V3 reliability maturity model
            • V3 reliability maturity assessment
            • Maturity level 2: self-preservation
            • Maturity level 3: recovery readiness
            • Maturity level 4: maintain stability
            • Maturity level 5: stay resilient
          • Multi-region replication
            • Multi-region replication architecture
            • Multi-region replication guidelines
            • Multi-region replication implementation assessment
          • Reliability testing
          • Scaling and headroom
          • Targets and health model
          • Trade-offs and accepted risks
        • V3 Security
          • API Management
            • API Management Architecture
            • API Management Guidelines
            • API Management Implementation
              • API Contracts and Asynchronous Operations
              • APIM Deployment and Debugging
              • APIM Global Policy Implementation
              • APIM Platform Provisioning
              • APIM Policy Authoring
              • APIM Service Onboarding
              • APIM Webhook Flow Implementation
            • API Management Policy Model
          • V3 Security Architecture
          • Data protection
            • Data protection architecture
            • Data protection guidelines
            • Data protection implementation guidelines
              • API Management
              • Application Gateway
              • Azure SQL Database
              • Azure Container Apps
              • Azure Cosmos DB
              • Azure Front Door
              • Azure Function Apps
              • Azure Database for MySQL
              • Azure Database for PostgreSQL
              • Data protection procedures
          • V3 Security Guidelines
          • V3 Identity
            • Applications and Authorization in ION V3
            • V3 Identity Architecture
            • Capabilities
            • Microsoft Entra ID for ION V3
            • V3 Identity Standard
            • V3 Identity Implementation
              • App Service Authentication
              • Application Registration
              • Application Roles
              • Customer Azure RBAC
              • Customer Identity Onboarding
              • Identity Lifecycle and Operations
              • Mailbox-Scoped Access
              • Managed Identity
              • Workload Identity Federation
            • V3 Identity Workflows
              • Alya Workbench Identity Workflow
              • Customer Azure RBAC Identity Workflow
              • Customer Portal Identity Workflow
              • Mailbox Access Identity Workflow
              • Microservices Identity Workflow
              • ServiceNow Inbound Identity Workflow
              • Shell and MFE Identity Workflow
              • Microsoft Teams Identity Workflow
          • Customer Environment Access
            • Azure Lighthouse
              • Azure Lighthouse implementation
            • GDAP and Tenant Governance
              • Access Packages (legacy)
              • GDAP human access implementation
            • Customer environment access guidelines
            • Multi-tenant Entra apps
              • Multi-tenant Entra apps implementation
            • Teams B2B Direct Connect
              • Teams B2B Direct Connect implementation
          • Network Security
            • Network Security Architecture
            • Network Security Guidelines
            • Network Security Implementation
              • Egress and Static IPs
              • Resource Access Restrictions
          • V3 Security Patterns
    • ION Architecture V4
      • How V4 evolves from V3
  • Principles
  • Patterns
    • Application Permissions Only
    • Async REST
    • Audit Logs (Pattern)
    • Auth / AuthZ
    • Dead Letter Queue (DLQ)
    • Dual Writes (and how to avoid them)
    • ECST — Event-Carried State Transfer
    • Event Hubs Throttling
    • Feature Flags (Pattern)
    • Idempotent Write
    • MFE UI Interaction
    • Notifications (Pattern)
    • Private Data Store Access
    • Schema Evolution
    • Service Bus Topic Throttling
    • UI Interaction with an Event-Sourced Backend
  • Standards
    • API Standard
    • API Standards
    • Coding Standard
    • Coding Standards
    • Documentation Standard
    • Documentation Standards
    • Microservice Standard
    • Microservice Checklist
    • Operational Readiness Standard
    • ORR — Operational Readiness Review Checklist
  • Decisions
    • ADR-0001
    • ADR-0002
    • ADR-0003
    • ADR-0004
    • ADR-0005
    • ADR-0006
    • ADR-0007
    • ADR-0008
    • ADR-0009
    • ADR-0010
    • ADR-0011
    • ADR-0012
    • ADR-0013
    • ADR-0014
    • ADR-0015
    • ADR-0016
    • ADR-0017
    • ADR-0018
    • ADR-0019
    • ADR-0020
    • ADR-0021
    • ADR-0022
    • ADR-0023
    • ADR-0024
    • ADR-0025
    • ADR-0026
    • ADR-0027
    • ADR-0028
    • ADR-0029
    • ADR-0030
    • ADR-0031
    • ADR-0032
    • ADR-0033
    • ADR-0034
  • Services
  • Governance
    • Assumptions
    • Discrepancies
    • V3 reference coverage and conflict matrix
OntinueION Docs
  1. Architecture
  2. ION Architecture V3
  3. Well-Architected
  4. V3 Security
  5. V3 Identity
  6. V3 Identity Workflows
  7. Shell and MFE Identity Workflow

Shell and MFE Identity Workflow

security
architecturev3

Shell and MFE Identity Workflow

V3 user interfaces are shells that compose domain micro-frontends (MFEs) (ADR-0023). Alya is the internal shell for Cyber Defenders; Bondi is the customer and Cyber Advisor shell. This page describes the identity path that is common to both: how the shell signs the user in, how Signet turns Entra roles into a capability token, how an MFE request is validated at APIM and bound at the MFE BFF, where the user token terminates, and how the single shell-owned SignalR connection is authorized.

Shell-specific populations, applications, and onboarding are covered in Customer Portal and Alya Workbench. The capability model is described in Capabilities, and the MFE platform design in Micro-frontends.

Actors and identities

Identities on the shell and MFE path
ConcernAuthoritative systemION responsibility
UserMicrosoft Entra ID (customer tenant or Ontinue platform directory)Authenticates the user; issues an access token whose audience is the shell application.
ShellAlya or Bondi SPA with MSALSigns the user in with Authorization Code and PKCE, acquires the capability token, gates MFE mounting, owns the SignalR connection.
Capability issuerSignetValidates the Entra token, resolves shell, persona, scope, permissions, and MFE access, and signs the RS512 capability token.
EdgeAPIM MFE product (apim-product-mfe-{env})Validates the Entra token, calls Signet validations with its managed identity, rate-limits, and authenticates to the BFF with its own managed identity.
MFE BFFOne BFF per MFE, with its own UAMIRe-verifies and binds the capability token, enforces per-route rules, terminates the user token, and calls downstream services as itself.
Real-timeShell SignalR BFF and Azure SignalRNegotiates the single shell connection and controls group membership after backend authorization.
Downstream servicesDomain APIs and workers, each with its own UAMIAuthorize the calling workload's Ion.* roles and enforce domain rules; never see the user token.

Shell sign-in

Both shells use MSAL with the Authorization Code flow with PKCE. Implicit flow, browser-held client secrets, and ID tokens used as API authorization are prohibited.

ShellApplicationAuthorityPersonaScope
Alya (alya)Alya application (azsp-ontinue-rome-idm-ion-defenderwb-{env}-01), single-tenantOntinue tenant-specific authorityinternalUnrestricted
Bondi (bondi), customer usersCustomer portal application (azsp-ontinue-rome-idm-ion-portal-{env}-01), multi-tenantorganizationspublicOwn tenant only
Bondi (bondi), Cyber AdvisorsAdvisor portal application (azsp-ontinue-rome-idm-ion-portal-advisors-{env}-01), single-tenantOntinue tenant-specific authoritypublicUnrestricted

The shell requests an access token for its own application’s exposed API scope. That one shell token is used for every MFE BFF call in the session; MSAL refreshes it silently.

Capability acquisition

After sign-in the shell calls Signet GET /v1/capabilities with Authorization: Bearer and the shell’s Entra token, plus X-Shell set to alya or bondi. Signet:

  1. validates the Entra token’s signature, issuer, and lifetime and extracts aud, tid, oid, and roles;
  2. resolves shell and persona from the token audience and roles;
  3. rejects the request if X-Shell does not equal the derived shell;
  4. unions the role-mapped permissions and MFE access and builds the tenant scope; and
  5. signs an RS512 token with typ cap+jwt and audience mfe-apim, valid for about one hour.
ClaimMeaning
subThe user’s Entra object ID (oid)
shellalya or bondi
persona_typeinternal or public
scopeUnrestricted, or a restricted list containing only the caller’s own tenant
permissionsSet of DomainEntity.Read or DomainEntity.ReadWrite values, such as Incident.ReadWrite
mfe_accessMFEs the user may load
entra_audThe Entra audience the capability token was minted for; the binding anchor

The response is returned with Cache-Control: no-store. The shell keeps the capability token in memory with the user context and re-acquires it before expiry.

MFE gating in the browser

The shell mounts only the MFEs listed in mfe_access. An MFE reads permissions from the shared user context to show or hide affordances, such as the action to close an incident. Neither the shell nor the MFE branches on Entra role names or shell names.

Browser gating is advisory

mfe_access and permissions in the browser are a user-experience optimization. They are not authorization. A user who forces an MFE to load or crafts a request directly still meets the APIM product, Signet validation, and BFF checks below.

MFE request path and token termination

Every MFE request carries two headers: Authorization: Bearer with the shell’s Entra token, and X-Capabilities with the capability token.

APIM MFE product

All MFE BFFs are published under the shared apim-product-mfe-{env} product. The product policy:

  • validates the Entra token in Authorization against the shell applications’ audiences and trusted issuers;
  • rate-limits to 300 requests per minute per user oid;
  • calls Signet POST /v1/validations with APIM’s managed identity, passing the capability token, the tenant taken from the route’s path parameters (customerTenantId, tenantId, and equivalents), the workspace taken from workspace parameters (workspaceId, ion_workspace_id, and equivalents), and the request method;
  • returns 403 if Signet denies or cannot be reached, so the BFF is never invoked on a failed or unavailable validation; and
  • acquires its own managed-identity token for the ION Platform API application, places it in backend Authorization, sets X-Authorization to the validated original Entra token, and forwards X-Capabilities.

Signet’s validation is coarse and stateless:

CheckRule
Tenant or workspace scopeThe tenant or workspace resolved from the route must be in the token’s scope. A route without either parameter accepts only an unrestricted scope.
Write gateGET, HEAD, and OPTIONS pass. Any other method requires at least one *.ReadWrite permission.
Token integritySignature, typ, audience, and lifetime must be valid.

MFE BFF binding

The BFF’s Easy Auth accepts only the ION Platform API audience, so it authenticates APIM rather than the user. The Ontinue.Ion.Capabilities.Signet middleware then:

  1. rejects a missing or empty X-Capabilities header;
  2. verifies the RS512 signature, typ cap+jwt, lifetime, and the public key resolved by kid;
  3. re-validates the Entra token from X-Authorization and binds it: the token aud must equal entra_aud, the token oid must equal sub, and the token tid must be in scope; and
  4. stores the verified claims in the request context.

Each route then applies R1–R6:

RuleResponsibility
R1Confirm capability validation ran on the route
R2Read claims from the request context, never by re-parsing the header
R3Require the route’s specific permission
R4Apply shell-specific domain rules using the shell claim
R5Re-check that the specific resource’s tenant is in scope
R6Strip response fields the persona may not see

After authorization the BFF terminates the user token. It does not place the Entra token, X-Authorization, or the capability token in any downstream header, message, job, store, or telemetry. Downstream calls use the BFF’s own UAMI token for the Platform API audience and carry only validated context such as user oid, tenant, and correlation ID. The Microservices workflow describes that hop.

Why there is no per-BFF audience

MFE BFFs do not each own an Entra application or audience. The shell token is the only user token in the session, and the capability token carries the authorization contract.

  • One consent and one sign-in per shell. A customer administrator consents once to the customer portal application. Adding an MFE requires no new application, no re-consent, and no additional token acquisition in the browser.
  • The backend audience is already uniform. Easy Auth accepts one audience per app, and every BFF trusts the Platform API audience presented by APIM. A per-BFF user audience would not reach the BFF’s platform authentication anyway.
  • Binding replaces audience separation. The capability token is bound to the exact shell token through entra_aud, sub, and tid. A token for another shell, user, or tenant fails binding even though it targets the same BFF.
  • Authorization lives in permissions. Which MFE BFF operations a user may perform is decided by Signet permissions and per-route rules, not by which audience a token names.

Real-time connection

Each shell owns exactly one SignalR connection per session, served by the shell SignalR BFF. MFEs never open their own connection.

The browser never asserts group membership:

  • the user identifier for negotiation and grouping comes from the APIM-validated token, never from a request body or query value;
  • the group name is derived on the server from the entity type and ID;
  • the backend authorizes the user’s access to the entity and its tenant before any group change, applying the same scope and permission rules as a read of that entity;
  • a BFF that relays a subscription passes the validated user and entity as context, not the user’s token; and
  • only the shell SignalR BFF writes to the hub. Producers publish signed events to Service Bus and never address SignalR directly.

On reconnect, MFEs re-register their subscriptions through the same backend path. The routing token is short-lived and is renegotiated before expiry. See Micro-frontends real-time.

Non-conformance: user token relayed to the Shell SignalR BFF

The Elk BFF and the Reichenbach BFF forward the user’s raw token to the Shell SignalR BFF (APIM assgr-int) in X-Authorization, and the Shell SignalR BFF reads the user oid from it. This does not conform to the rule above that a relaying BFF passes validated context, not the user’s token. The guidance is unchanged. The gap is tracked as RT-01 in the real-time gaps.

Failure behavior

ScenarioWhere it is caughtResult
Expired capability tokenAPIM through Signet validation; BFF middleware lifetime check403; the shell re-acquires a capability token from GET /v1/capabilities and retries once
Shell mismatch, such as a customer token requesting alyaSignet at issuance403 with ShellMismatch; no capability token is issued
Tenant out of scope, such as a customer user requesting another tenant’s routeSignet validation at APIM; BFF R5 for the specific resource403; the BFF is not reached when the route tenant is out of scope
Restricted token on a route with no tenant or workspace parameterSignet validation at APIM403; only unrestricted scopes may use such routes
Read-only persona sends a writeSignet write gate at APIM; BFF R3 for the route’s specific permission403 at APIM when no *.ReadWrite exists; 403 at the BFF when the specific permission is absent
Swapped capability token from another user or shellBFF binding (oid to sub, aud to entra_aud, tid to scope)403; recorded as a security event
Missing X-Capabilities on an MFE routeAPIM product; BFF middleware403
Invalid or expired Entra tokenAPIM token validation401; the shell refreshes through MSAL
More than 300 requests per minute for one oidAPIM product429
Signet unavailableAPIM product403; validation fails closed

Audit

APIM records the route, user oid, tenant, Signet decision, and correlation ID. Signet records issuance and validation decisions with failure codes. The BFF records binding failures, per-route denials, the resulting downstream workload identity, and correlation context. None of these records contain the Entra token, the capability token, or authorization headers.

Related pages

  • Workflow overview
  • Customer Portal
  • Alya Workbench
  • Microservices
  • Capabilities
  • Applications and authorization
  • App Service authentication
  • Micro-frontends
  • Signet capability service
  • API Management
  • ADR-0023 — MFE UI architecture
  • ADR-0013 — Service-to-service authentication

On this page

  • Actors and identities
  • Shell sign-in
  • Capability acquisition
  • MFE gating in the browser
  • MFE request path and token termination
  • APIM MFE product
  • MFE BFF binding
  • Why there is no per-BFF audience
  • Real-time connection
  • Failure behavior
  • Audit
  • Related pages
PreviousServiceNow Inbound Identity Workflow
NextMicrosoft Teams Identity Workflow
Edit on GitHubSecurity