Best Practices for OAuth Identity Providers¶
When you use Confluent OAuth, your OAuth identity provider is responsible for identity management. This offers you flexibility for managing your identities, but it is only as secure as the protections enforced on the identity provider itself.
Precautions about using the same identity provider across multiple organizations¶
If you use the same OAuth identity provider (with the same Issuer URI and JWKS URI) across multiple organizations that you own, any access tokens issued by your OAuth identity provider can be used across all of the organizations. Use a pool filter to ensure that the the access tokens are used for specific operations or purposes within a particular organization.
Use identity pool filters¶
Leverage identity pool filters for all
of your identity pools. Use claims, such as
scp, or others, to
restrict access for specific purposes or operations.
Use claims to restrict access to specific organizations¶
If you need to restrict the usage of a token to a single organization, you must configure your identity provider as needed to supply the appropriately restricted access tokens.
For example, you can configure your identity provider to issue tokens with specific claim
scp, or others). These claims can be configured as
filters in a particular organization’s pool. Even though the token signature
is valid for all of your organizations, the token claims only pass validation
to an organization that contains an identity pool with a filter that matches
the token’s claims.