SSO connections
Configure enterprise SSO connections
Use scalekitClient.connections() to configure enterprise SSO (SAML/OIDC) for an organization.
Enable SSO after the organization exists: create a connection, complete IdP setup, and test sign-in for that org.
getConnectionById
Section titled “getConnectionById”#asyncgetConnectionById
Runs getConnectionById and returns the result.
Connection ID.
Organization ID.
The response payload for this operation.
scalekitClient.connections().getConnectionById("conn_123", "org_123");listConnectionsByDomain
Section titled “listConnectionsByDomain”#asynclistConnectionsByDomain
Runs listConnectionsByDomain and returns the result.
Domain name.
Paginated connections.
scalekitClient.connections().listConnectionsByDomain("acme.com");listConnectionsByOrganization
Section titled “listConnectionsByOrganization”#asynclistConnectionsByOrganization
Runs listConnectionsByOrganization and returns the result.
Organization ID.
Paginated connections.
scalekitClient.connections().listConnectionsByOrganization("org_123");enableConnection
Section titled “enableConnection”#asyncenableConnection
Runs enableConnection and returns the result.
Connection ID.
Organization ID.
The updated resource.
scalekitClient.connections().enableConnection("conn_123", "org_123");disableConnection
Section titled “disableConnection”#asyncdisableConnection
Runs disableConnection and returns the result.
Connection ID.
Organization ID.
The updated resource.
scalekitClient.connections().disableConnection("conn_123", "org_123");createConnection
Section titled “createConnection”#asynccreateConnection
Runs createConnection and returns the result.
Organization ID.
Connection.
The created resource.
import com.scalekit.grpc.scalekit.v1.connections.CreateConnection;
CreateConnection req = CreateConnection.newBuilder() .setDisplayName("Acme Okta") .build();
scalekitClient.connections().createConnection("org_123", req);deleteConnection
Section titled “deleteConnection”#asyncdeleteConnection
Runs deleteConnection and returns the result.
Connection ID.
Organization ID.
No return value
scalekitClient.connections().deleteConnection("conn_123", "org_123");