ION DocsV2
  • 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 V2
  3. V2 Well-Architected
  4. V2 Security
  5. V2 Identity
  6. V2 Identity Workflows
  7. Customer Portal Identity Workflow

Customer Portal Identity Workflow

security
VersionV2V3
architecturev2

Customer Portal Identity Workflow

The V2 Customer Portal has two deliberately separate user identity boundaries: a multi-tenant customer path and a single-tenant Ontinue advisor path. The paths use separate APIM routes and route-specific authorization policies, but both terminate user access tokens at the same Customer Portal BFF. Teams collaboration is a separate workflow; Teams membership never grants Portal API access.

Customer users authenticate in their own customer home tenant — not in an Ontinue tenant. Their customer-tenant identity, lifecycle, MFA, and Conditional Access remain under customer control.

Cyber Advisors authenticate in the Ontinue internal tenant — never in the customer’s tenant. An advisor with the required Ontinue advisor role can access every active onboarded customer; there is currently no per-advisor customer assignment or customer-relationship authority.

Actors and application identities

Actor or identityPopulationResponsibility
Customer userUser in an onboarded customer’s home Entra tenantSign in and perform customer-authorized Portal operations
Cyber AdvisorOntinue internal user with the advisor roleUse the separately governed advisor path for any active onboarded customer
Customer Portal clientEnvironment-specific, customer-facing multi-tenant application registrationRequest customer user-delegated access only for the Customer Portal BFF audience
Advisor Portal clientEnvironment-specific, Ontinue single-tenant application registrationRequest advisor user-delegated access through the dedicated advisor APIM routes
Customer Portal BFFShared Azure-hosted backend with its own managed identityTerminate both customer and advisor user tokens; apply the authorization contract selected by the APIM route; call downstream services as itself
Downstream ION serviceAzure-hosted API or service with its own managed identityAuthorize the BFF’s workload identity and execute the requested operation

Customer users remain governed by their home tenant. The Portal’s customer-facing application boundary is multi-tenant, but access is limited to tenants and customers that have completed ION onboarding. The Ontinue advisor path is single-tenant and separately authorized through dedicated APIM routes so customer-facing grants cannot confer support or customer-switching capability, and advisor grants cannot be presented as customer identity. Both route families resolve to the same Customer Portal BFF implementation and managed identity.

Roles and Permissions

Naming convention: <platform>.<resource>.<operation> Examples:

  • Ion.DefenderWorkbench.*
  • Ion.AutomationWorkbench.*

Customer Portal - SPA Overview

Customer Portal SPA
Open diagram source

SSO in Teams Tab

Customer Portal Teams SSO

Customer Portal PowerBI Embed

Customer Portal PowerBI Embed
Open diagram source

Customer user login flow

The customer signs in with an identity issued by the customer’s own home tenant. Ontinue does not issue or host the customer’s user identity.

The customer user token audience is the Customer Portal BFF, never a downstream domain service. APIM validates it and supplies it to the shared BFF only as sensitive X-Authorization context while backend Authorization contains an APIM managed-identity token. The BFF MUST NOT propagate the user token in any header, message, background job, storage, or telemetry. Each downstream call starts with the BFF’s managed identity; APIM validates that caller and uses its own managed identity to authenticate to the protected domain backend.

OBO Flows

Teams B2B Direct Connect

Advisor login and on-behalf-of customer access

The advisor signs in with an Ontinue identity issued by the Ontinue internal tenant. The advisor does not sign in to the customer’s tenant and does not receive or impersonate a customer user’s token.

The requested customer identifier is untrusted input until the shared Customer Portal BFF resolves it to an active onboarded customer. The advisor role currently authorizes the advisor to use the support surface for all active onboarded customers. There is no per-advisor customer assignment check. The advisor token terminates at the shared BFF; downstream services receive the BFF managed-identity token and the minimum validated customer context.

In this document, “on behalf of” describes an advisor performing an authorized operation in a customer’s business context. It is not the OAuth On-Behalf-Of token exchange, does not mint a customer user token, and does not propagate the advisor token downstream.

Token validation

Validation common to both login paths

APIM validates before routing, and the shared Customer Portal BFF repeats all security-critical validation before consuming the token. The BFF determines the applicable validation and authorization contract from trusted route configuration, not from a client-supplied route or persona value:

Token propertyValidation requirement
SignatureValidate against signing keys from the configured Entra OpenID Connect metadata. Accept only configured algorithms and refresh keys when Entra rotates them.
Token type and versionAccept an access token in the supported Entra token version. An ID token is never accepted as API authorization.
Validity (nbf, exp)Require the token to be active and unexpired, allowing only the platform-approved clock skew.
Audience (aud)Require the exact API audience configured for the selected customer or advisor APIM route and environment. Both routes target the shared Customer Portal BFF.
Authorized client (azp or appid)Require the expected environment-specific Customer Portal client or Advisor Portal client. A valid token obtained by another application is rejected.
Delegated scope (scp)Require the exact delegated scope defined for the route. A workload application role cannot replace it.
User role (roles)Where the route requires a user-assigned application role, require that exact role. A delegated scope alone does not grant customer or advisor permission.
Subject (oid and sub)Use stable identifiers to resolve the user and assignments. Display name, email, and preferred username are not authorization keys.

The validator uses metadata selected from trusted configuration. It does not use an unvalidated token to choose an arbitrary authority or signing-key endpoint.

Customer user token

A customer user token is issued by the customer’s home tenant, which is a non-Ontinue tenant. The customer route validates:

PropertyCustomer-path requirement
Issuer (iss)Require the tenant-specific Entra issuer corresponding to the validated customer tenant; do not require an Ontinue issuer and do not accept an arbitrary organizational issuer.
Tenant (tid)Require an active, onboarded customer home tenant. The tenant must agree with the issuer and map to the requested customer.
Audience (aud)Require the environment-specific Customer Portal BFF/API audience.
Client (azp or appid)Require the environment-specific customer-facing Portal client.
PermissionRequire the route’s customer delegated scope or user role and the user’s current assignment in the customer enterprise application.
Customer contextResolve the token tenant, user, requested customer, and active ION subscription. Consent or Teams membership alone is insufficient.

A cryptographically valid token from an organizational tenant that is not an active onboarded ION customer is rejected.

Advisor token

An advisor token is issued only by the Ontinue internal tenant. It is not issued by or accepted from a customer tenant. The advisor route validates:

PropertyAdvisor-path requirement
Issuer (iss)Require the exact configured issuer for the Ontinue internal tenant and environment.
Tenant (tid)Require the Ontinue internal tenant. A token from a customer tenant is rejected even if other claims look valid.
Audience (aud)Require the environment-specific audience configured for the advisor APIM routes. It is separate from the customer-consented audience even though both routes target the shared Customer Portal BFF.
Client (azp or appid)Require the environment-specific, single-tenant Advisor Portal client.
PermissionRequire the advisor/support role and the route’s delegated scope. Customer Portal roles do not grant advisor access.
Customer scopeRequire the requested customer to resolve to an active onboarded customer. The advisor role grants access to all active onboarded customers; no per-advisor customer relationship is evaluated.

Enforcement after validation

APIM rejects malformed or untrusted tokens and applies distinct customer-route or advisor-route policies. It then authenticates to the shared OAuth-protected BFF with the APIM managed identity and supplies the validated original token only as sensitive X-Authorization context. The BFF authenticates APIM, revalidates and terminates the original token, then applies the matching route authorization contract. Customer tokens cannot enter advisor routes, and advisor tokens cannot enter customer routes, even though the backend implementation is shared.

Downstream APIs ignore user identity asserted by the client and authorize the BFF managed identity using application roles. They apply the validated customer context as an additional boundary and enforce resource ownership and domain rules.

Roles, scopes, and RBAC

  • User-delegated scopes or user-assignable Portal roles express Portal operations, such as read or approved write access to incidents, vulnerabilities, machines, and customer-environment configuration.
  • Application roles assigned to the BFF managed identity express which downstream ION API operations the BFF may call.
  • Azure RBAC grants the BFF or downstream services access to Azure resources and is reviewed independently from API permissions.
  • A ReadWrite role authorizes only the operations defined by the relevant API contract; it does not imply administration or unrestricted deletion.

Onboarding

  1. Register the customer home tenant — not an Ontinue tenant — and customer context in the authoritative onboarding service.
  2. Complete administrator consent for the environment-specific customer-facing applications and create the corresponding enterprise applications.
  3. Assign approved Portal roles to customer-controlled users or groups.
  4. Configure allowed redirect and logout locations through controlled deployment configuration.
  5. Provision the Customer Portal BFF managed identity and assign only its required downstream application roles and Azure RBAC.
  6. Test customer sign-in from the customer home tenant, rejection of an unonboarded or Ontinue tenant on the customer route, read/write separation, customer isolation, and the BFF token-termination rule.
  7. Test advisor sign-in from the Ontinue tenant, rejection of a customer tenant on the advisor route, advisor-role enforcement, access to multiple active onboarded customers, and denial of an unknown or inactive customer.

Customer security-system permissions are onboarded separately through Customer Environment Access. Portal consent does not by itself grant access to Sentinel, Defender, Graph, or customer Azure resources.

Revocation and offboarding

Disable access by removing user or group role assignments and marking the customer tenant inactive at the Portal boundary. Customer offboarding also removes enterprise applications or consent where agreed, deletes support assignments, and revokes BFF grants that exist only for that customer capability. Cached customer status must have a bounded lifetime and support urgent invalidation.

A disabled customer home-tenant user can no longer obtain a usable new customer token. Existing short-lived tokens remain subject to active-customer and assignment checks at the Portal boundary. Removing an Ontinue advisor role prevents that advisor from accessing every customer through the support path. Marking a customer inactive prevents all advisors from selecting that customer. Security response may also disable the relevant application, remove grants, block the customer tenant, or suspend the advisor support route.

Audit and failure behavior

Authentication failures return an unauthenticated response. A customer user who lacks the required operation or customer assignment receives a forbidden response. An advisor who lacks the advisor role or requests an unknown or inactive customer also receives a forbidden response. Tenant lookup failure, ambiguous customer mapping, or unavailable authorization data fails closed.

Audit events identify whether the path was customer or advisor, the authenticating tenant category, environment, customer context, calling application, user subject, BFF workload identity, operation, customer-resolution decision, authorization result, and correlation identifier. Do not log access tokens, authorization headers, token payloads, or unnecessary user attributes. Repeated cross-customer attempts, consent changes, support access, and role changes generate security telemetry.

Related pages

  • Workflow overview
  • Alya Workbench
  • Microsoft Teams
  • Microservices
  • Identity architecture
  • Identity guidelines
  • Identity implementation guidance
  • API Management
  • Customer Environment Access

On this page

  • Actors and application identities
  • Roles and Permissions
  • Customer Portal - SPA Overview
  • SSO in Teams Tab
  • Customer Portal PowerBI Embed
  • Customer user login flow
  • OBO Flows
  • Advisor login and on-behalf-of customer access
  • Token validation
  • Validation common to both login paths
  • Customer user token
  • Advisor token
  • Enforcement after validation
  • Roles, scopes, and RBAC
  • Onboarding
  • Revocation and offboarding
  • Audit and failure behavior
  • Related pages
PreviousAlya Workbench Identity Workflow
NextMicroservices Identity Workflow
Edit on GitHubSecurity