OAuth/OIDC Federation is currently in Private Preview and is only available for BYOC Pro clusters. If you are interested in this feature, please join our Early Access Program.
StreamNative Cloud uses its own OAuth2 provider for authenticating User Accounts and Service Accounts. However, you may want to use your existing OAuth/OIDC-compliant identity provider (IdP) for authentication instead.
OAuth/OIDC Federation enables this capability by allowing you to configure StreamNative Cloud to authenticate users through your organization’s existing OAuth/OIDC-compliant identity provider.
snctl
or the Cloud API.The following diagram illustrates the OIDC Federation flow for an organization.
The OIDC Federation process consists of these key steps:
Configure OAuth/OIDC Identity Provider:
To use OIDC Federation, you must first establish trust between StreamNative Cloud and your identity provider by adding it as a trusted identity provider in StreamNative Cloud. This involves:
Create an Identity Pool and Access Policies:
Create an identity pool to represent a group of external identities. This allows you to assign appropriate access levels through policies.
Configure Clients to Use Your Identity Provider:
Obtain the Client ID and Client Secret from your identity provider to configure clients for OAuth2 authentication. For more details, see Use OAuth to Authenticate to StreamNative Cloud.
Token Validation and Authorization:
StreamNative Cloud validates incoming tokens using the trust JSON Web Key Set (JWKS), extracts the authenticated ID (sub
) or other configured claims, and matches the authenticated identity to the appropriate identity pool for authorization.
OAuth/OIDC Federation is currently in Private Preview and is only available for BYOC Pro clusters. If you are interested in this feature, please join our Early Access Program.
StreamNative Cloud uses its own OAuth2 provider for authenticating User Accounts and Service Accounts. However, you may want to use your existing OAuth/OIDC-compliant identity provider (IdP) for authentication instead.
OAuth/OIDC Federation enables this capability by allowing you to configure StreamNative Cloud to authenticate users through your organization’s existing OAuth/OIDC-compliant identity provider.
snctl
or the Cloud API.The following diagram illustrates the OIDC Federation flow for an organization.
The OIDC Federation process consists of these key steps:
Configure OAuth/OIDC Identity Provider:
To use OIDC Federation, you must first establish trust between StreamNative Cloud and your identity provider by adding it as a trusted identity provider in StreamNative Cloud. This involves:
Create an Identity Pool and Access Policies:
Create an identity pool to represent a group of external identities. This allows you to assign appropriate access levels through policies.
Configure Clients to Use Your Identity Provider:
Obtain the Client ID and Client Secret from your identity provider to configure clients for OAuth2 authentication. For more details, see Use OAuth to Authenticate to StreamNative Cloud.
Token Validation and Authorization:
StreamNative Cloud validates incoming tokens using the trust JSON Web Key Set (JWKS), extracts the authenticated ID (sub
) or other configured claims, and matches the authenticated identity to the appropriate identity pool for authorization.