Key takeaways:

  • Integrating Okta with multilateral federation frameworks like InCommon or EduGAIN requires a federation adapter (like Cirrus Identity or Shibboleth) to bridge Okta’s bilateral SAML architecture with InCommon’s dynamic metadata registry.

  • Institutions can deploy Okta as an InCommon identity provider (IdP) for outbound access or as a service provider (SP) for inbound collaboration.

Introduction to Okta and InCommon integration

For higher education institutions and partner research facilities, utilizing the InCommon framework is essential. Traditionally, Okta doesn't support the bilateral federation model used by InCommon—however, there is a solution. This guide provides a technical overview and architectural patterns for integrating an Okta tenant with a multilateral federation model such as InCommon or eduGAIN, enabling you to participate in the InCommon Federation as either an identity provider (IdP) or a service provider (SP).

Core integration use cases

This guide is designed for identity architects at institutions that use Okta as their primary identity platform but require interoperability with the broader research and education (R&E) community through InCommon—either as an InCommon IDP or InCommon SP.

We will explore two primary scenarios: 

  1. Okta as an InCommon IdP: Granting authenticated students at Okta-enabled institutions access to third-party InCommon resources
  2. Okta as an InCommon SP: Securing institutional applications with Okta while allowing the broader InCommon community to access them

While we will show Okta on both sides of the transaction, the models apply to other enterprise identity and access management (IAM) solutions.

Contextualizing federation terminology: IdP vs. SP

The use of the terms identity provider (IdP) and service provider (SP), while appropriate, can be context-dependent. 

  • In architectural pattern 1 (Okta as InCommon IdP): Okta is the IdP for university applications and the IdP for the federation adapter, Cirrus Bridge. The adapter acts as an SP to Okta. However, in this use case, Cirrus Bridge also functions as an InCommon IdP, allowing students and faculty to get SSO to third-party resources that act as InCommon SPs. In this case, Okta is an IdP, Cirrus Bridge is both an SP and an IdP, and the third-party resources are SPs.
  • In architectural pattern 2 (Okta as InCommon SP): Okta is the IdP for the research institution applications used by both Students/Faculty of the research institution. At the same time, Okta allows external InCommon users into the application.  For external InCommon users, Okta is an SP, and the Cirrus Proxy is the IdP.  However, the Cirrus Proxy is an InCommon SP. 

Comparing federation models: Bilateral vs. multilateral

Okta's bilateral federation model

Architecture diagram showing Okta as a central identity provider managing SSO, MFA, and governance, connecting via SAML and OIDC to applications, an Okta Gateway, and an on-premises PeopleSoft application.

Okta is the market-leading IAM service built to provide access to security assertion markup language (SAML), OpenID Connect (OIDC), and on-premises header-based applications. Many higher education and research institutions use Okta, and in some cases, a single institution can serve as both an IdP and an SP. The Okta federation architecture relies on a unique, point-to-point trust relationship configured between a single IdP and a single SP. 

This point-to-point approach is referred to as a bilateral federation, which is the standard model used by all major commercial IAM vendors. This model provides granular control and is standard for enterprise and commercial applications. 

InCommon's multilateral federation model

Diagram illustrating multilateral federation where multiple InCommon institutions acting as IdPs connect via SAML to hosted applications, using the InCommon Metadata Query (MDQ) Service.

In contrast to Okta’s bilateral approach, which requires a specific, pre-configured connection for each federation partnership, InCommon operates on a multilateral federation model. This is a many-to-many trust framework that allows thousands of participating institutions to interoperate without creating individual bilateral relationships. 

A central trust registry makes this possible by hosting a metadata service that contains the SAML metadata for all members. InCommon provides this trust registry as either the "Legacy SAML Metadata Aggregate" or the "Metadata Query (MDQ) Service." An SP can trust the entire InCommon federation and, by consuming this metadata, accept authentication from any registered IdP. 

While multilateral federation and the metadata service are the biggest differentiators between a commercial model and the R&E community model, they are not the only differences. InCommon also defines standardized authentication and attribute requirements:

  • Expressing specific multi-factor authentication (MFA) assertions compliant with the REFEDS MFA Profile
  • Releasing standardized user attribute bundles based on predetermined consent frameworks. 

Because Okta does not natively support the dynamic metadata consumption required for multilateral federation, you must use a federation adapter as an intermediary.

The federation adapter architecture: A prerequisite for integration 

To bridge the gap between Okta's bilateral model and InCommon's multilateral model, you must use a specialized adapter on both the IdP and the SP sides of the connection.  

  • As an InCommon IdP (pattern 1): this adapter processes the InCommon metadata feed and communicates with Okta via a standard bilateral SAML connection. 
  • As an InCommon SP (pattern 2): this adapter prompts the user to identify their home institution, looks up the metadata for that institution, generates the correct authentication request to that institution, and then consumes and validates the incoming SAML assertion. 
Diagram showing two InCommon SAML integration patterns using Okta: Pattern 1 with an InCommon IdP Adapter for student login, and Pattern 2 with an InCommon SP Adapter accessing a research facility.

Choosing an adapter: Shibboleth vs. Cirrus Identity

The R&E community widely accepts two primary adapter solutions: Cirrus Identity and Shibboleth.

Both Cirrus Identity and Shibboleth will work when using Okta and an InCommon adapter. Your choice of solution depends on your organizational preferences.

FeatureCirrus Bridge/ProxyShibboleth
Deployment ModelSaaS (Software-as-a-Service)Self-Hosted (On-Premises or Cloud Virtual Machine)
Pros
  • Fully managed, no infrastructure to maintain 
  • Established solution used by many institutions
  • Professional support and setup assistance
  • Fast to deploy
  • Cirrus Proxy offers an IdP discovery screen allowing a user to select their Institution
  • Open-source, no licensing fees
  • Maximum control and configuration flexibility
  • Strong community support
Cons
  • Requires a separate commercial contract
  • Recurring subscription cost
  • Requires dedicated infrastructure, such as servers and load balancers
  • The institution is responsible for uptime, patching, and security
  • Requires in-house technical expertise to configure and maintain

Architecture pattern 1: Okta as an InCommon identity provider

In this scenario, a university uses Okta for its students, faculty, and staff. The university feeds Okta from its student information and/or HR systems and provides provisioning, single sign-on (SSO), and MFA for various apps, including Google Workspace, Microsoft Entra ID, Canvas, and Blackboard. Okta also provisions users to Active Directory. The goal is to allow university users to access external InCommon-federated services, such as research journals, third-party library services, and NSF applications. 

Architecture setup

  1. The university registers Cirrus Bridge as its official IdP in the InCommon trust registry.
  2. Cirrus Bridge is configured to point upstream to the university’s Okta tenant as its authoritative SAML IdP.
  3. Okta handles primary user authentication, MFA enforcement, and core identity lifecycle management.
Architecture diagram showing identity federation where an InCommon Institution using Okta and Cirrus Bridge connects via SAML to a facility hosting an InCommon application and querying the InCommon Metadata Query (MDQ) Service.

How authentication flows work for Okta as an IdP

For an IDP-initiated flow, start with the optional login 

  1. The unauthenticated user logs directly into the Okta end-user dashboard.
  2. The user clicks a link to the target external InCommon application.
  3. Okta generates a SAML assertion and sends it to Cirrus Bridge.
  4. Cirrus Bridge translates the assertion into a multilateral format and passes it to the target resource.

For a SP-initiated flow, do not use the optional login, and perform the login when required

  1. The user navigates directly to the target third-party InCommon resource.
  2. The resource redirects the user to Cirrus Bridge using the InCommon metadata lookup.
  3. Cirrus Bridge redirects the user to Okta for primary credential verification.
  4. Upon successful authentication, Okta issues a token to Cirrus Bridge, which forwards the user back to the resource.
Alt text: Sequence diagram illustrating SAML authentication flow between a user, a University with Okta and Cirrus Bridge, and a Remote Research Institution using InCommon SP to access a resource.

Architecture pattern 2: Okta as an InCommon service provider

In this scenario, a research institution uses Okta to secure access to its applications. Instead of issuing separate credentials for each user, the institution wants to accept users from the InCommon Federation. This allows those users to access the research institution’s applications using their own university credentials without creating a new account. The research institution also wants to enable direct login for their research staff. 

Architecture setup

  1. Cirrus Proxy is registered as an InCommon SP in the multilateral registry.
  2. Okta is configured to trust Cirrus Proxy as an inbound IdP using a bilateral SAML setup.
  3. The target applications remain integrated directly with Okta as standard SSO on applications.
Identity architecture diagram showing SAML federation between an InCommon Enabled Institution, a Cirrus Proxy, and Okta within a Research Facility.

Identity discovery and authentication flows

An important component when enabling InCommon access into Okta is ensuring that users log in through the proper paths.

Direct login flow for internal staff

  1. Internal research staff access the application directly through their Okta account.
  2. Okta authenticates internal users directly without invoking the external discovery pipeline.

SP-initiated login flow for external InCommon users

An external user navigates directly to the application or from their home university dashboard. At this point, the user can be prompted for their credentials using either of the two approaches below. The approach will be based on the institution's requirements.  

  1. User > Access Resource > Okta presents login widget with link to discovery screen on Cirrus Proxy 

    • User can directly log in through the Okta widget or select to “Login with InCommon,” which takes them to the IDP discovery screen on Cirrus Proxy

Diagram illustrating the Okta sign-in options for Students/Faculty versus InCommon users selecting their organization from a list.
  1. User > Access Resource > Cirrus Proxy presents a login page with an Okta widget link

    • User is immediately shown the Cirrus Proxy IDP discovery screen

    • Staff can log in directly through the Okta widget

Diagram showing Students/Faculty logging in through Athena Institute's portal to Okta, alongside InCommon Users selecting an affiliated campus.

In this example, the user chooses to use InCommon for authentication.

  1. The user is redirected to the Cirrus Proxy discovery interface to select their home institution.
  2. Cirrus Proxy queries the MDQ service, retrieves the home institution’s SAML metadata, and redirects the user to their local university login page.
  3. After successful login at the home university, the home IdP sends a SAML assertion to Cirrus Proxy.
  4. Cirrus Proxy validates the assertion and sends a formatted assertion to Okta, granting the user access to the application.
Sequence diagram illustrating the SAML authentication flow between a User, a University IdP, and a Research Institution environment containing a Cirrus Proxy, Discovery Page, Okta, and a Resource.

Streamline your multilateral federation with Okta

Integrating Okta with multilateral federations doesn’t have to be complex. Our Cirrus Federation Bridge integration enables authentication and provisioning for end users at higher education and research institutions. 

Unlike other identity management toolkits, Okta doesn’t require you to spend time and resources manually connecting web applications to your user directories. Instead, we integrate applications directly into our service, so you can simply deploy them to your users.

Download the Application Integrations Whitepaper to learn more about how we simplify application connections across your entire ecosystem.

Continue your identity journey