Single Sign-on (SSO) for Confluent Cloud¶
Use single sign-on (SSO) for Confluent Cloud to manage your Confluent Cloud users and authenticate them using your existing identity provider instead of using Confluent Cloud local user accounts and passwords. Enabling SSO in Confluent Cloud lets you manage your users in one place and allows users to sign in to Confluent Cloud using their existing SSO credentials. Using SSO improves your security and lets you use multi-factor authentication (MFA), if provided by your identity provider.
You can use single sign-on (SSO) with Confluent Cloud with:
- Your SAML-based identity provider. To enable, see Enable SAML Single Sign-on (SSO) for Confluent Cloud.
- Your OIDC-based Azure Marketplace identity provider. See Use Single Sign-on with Azure Marketplace.
In Confluent Cloud, SSO is enabled at the organization level. After SSO is enabled, the authentication behavior changes as follows:
- All new invited users to the organization are authenticated using SSO (by default).
- Once a user authenticates using SSO, they cannot be added as a local user in other organizations.
When SSO is disabled, the authentication method for users does not automatically change. Before you disable SSO, make sure that you have a local user account with the OrganizationAdmin role to be able to sign in to your organization.
For details about SSO user accounts, see Single sign-on (SSO) user accounts. Multi-factor authentication (MFA), including two-factor authentication (2FA), is an SSO option available from most identity providers.
Confluent Cloud SAML-based SSO workflow¶
With SSO enabled, users sign in at
The browser makes an OpenID Connect (OIDC) request to the identity broker at
login.confluent.io, which then redirects the browser to send a SAML request
to the organization’s identity provider. After the user successfully authenticates,
the identity provider responds with a signed SAML ID Assertion, which the identity
broker translates into a JSON Web Token (JWT). Confluent Cloud uses this token to authenticate
additional requests from the browser.
When SSO is enabled and the
confluent login command is issued, the following
browser-based workflow is launched:
Generates an HTTP server on
localhostto receive the authentication callback.
Initiates the SSO flow by navigating to
login.confluent.ioin the browser.
The browser automatically redirects the user to the identity provider sign-in page.
After successfully signing in, the browser redirects the user back to
localhostwith a signed
Confluent CLI uses the
id_tokento obtain a Confluent Cloud back-end session.
If the Confluent CLI is running on a server without a web browser (also known as a “jump host”), then this flow does not work. In such cases, you must sign in using the
--no-browseroption. For details, refer to Sign in to Confluent Cloud using SSO.
Sign in to Confluent Cloud using SSO¶
You can sign in to Confluent Cloud using the Confluent CLI or the Confluent Cloud Console.
For SSO-enabled organizations, you can sign in to your Confluent Cloud organization using the following Confluent CLI command with your SSO user account:
If you are using SSO-based authentication, the
confluent login CLI
command does not prompt the user for a password. SSO relies on your
identity provider for authentication.
If the Confluent CLI is running on a server without a web browser (also
known as a “jump host”), then you must sign in using
--no-browser option, like this:
confluent login --no-browser
After running this command, you receive a printout of a URL, which you must copy and paste into a local browser. After you provide your credentials and successfully log in, the browser displays a code that you must copy and paste back into in the Confluent CLI. Your workflow should look like the following:
confluent login --no-browser
Updates are available for ccloud. To install them, please run:
$ confluent update
Enter your Confluent credentials:
Navigate to the following link in your browser to authenticate:
After authenticating in your browser, paste the code here:
#### The following code was copied and pasted from the browser #####
Logged in as firstname.lastname@example.org
Using environment t21388 ("default")
After new users are invited to use SSO, they receive an email notification that includes a link to the new SSO sign-in page. The wording and format of the notification varies by organization, but it will always include a link that the recipient must click to accept the invitation and complete account setup. This link is for one-time use only by the recipient of the email notification.
Fill in the acceptance form and click Submit. The new SSO login screen appears.
The organization-specific SSO login URL should look like
is replaced by the identifier for your organization. This is your new permanent
Confluent Cloud SSO login page. If using bookmarks, save this URL.