Skip to content

End-user access in AgentCube is governed by your identity provider and your data source. AgentCube does not maintain its own database of end users or Oracle data permissions. The one roster AgentCube does keep is the Context Engine’s admin console accounts (see Context Engine admin accounts below). User management depends on your connector’s authentication posture. The Context Engine establishes the user identity at the inbound edge and carries it through to the connector and, under federated SSO, on to Oracle (under a delegated credential, Oracle sees the one registered account), so the controls below are where you actually grant and revoke access.

Under the delegated credential posture (AGENTCUBE_AUTH_MODE=delegated_basic), you enter one Oracle username and password when you register the connector in the Context Engine. The Context Engine stores it encrypted and forwards it on every call, so every call through that connector reaches Oracle as that one named account, whichever user is chatting. Oracle’s audit trail shows that account; the Context Engine’s audit log records which signed-in user made each call only when Context Engine sign-in (AGENTCUBE_CE_AUTH_MODE=oidc) is enabled. This is the default for admin/metadata instances, and an acceptable interim posture for a user/data instance in a pilot or sandbox. User management involves:

  • Oracle-side: Grant and revoke data access by managing the permissions of that one Oracle user in Oracle EPM
  • Context Engine-side: Control who can reach the Context Engine: app assignment in your identity provider for the Context Engine’s single sign-on, plus your AI platform’s own sharing controls (e.g., Claude.ai team settings, Copilot Studio agent sharing)

A plain shared service account (basic) is not allowed on a user/data instance; the connector refuses to start in that combination.

Under federated SSO (AGENTCUBE_AUTH_MODE=internal), each user authenticates individually. The Context Engine validates the user’s corporate sign-in token (configured with AGENTCUBE_CE_AUTH_MODE=oidc and AGENTCUBE_CE_OIDC_PROVIDER=azure or oidc), and the connector then exchanges that identity with Oracle so each call runs as the signed-in user. The earlier per-connector oidc mode follows the same identity provider and OCI Identity Domain rules below. User management involves two systems:

Control who can authenticate to AgentCube:

  • Microsoft Entra ID: Manage app assignment under Enterprise Applications → Users and groups
  • Okta/Auth0/Keycloak: Manage app assignment in your IdP’s user management

Users must exist in the OCI Identity Domain with usernames matching their identity-provider email:

  • Add a user: Identity Domain → Users → Create user → set username to the user’s email
  • Remove a user: Delete or deactivate the user in the identity domain
  • Bulk provisioning: Use SAML JIT provisioning or directory sync for automatic user creation

The user’s email from the identity provider (or, if absent, their preferred_username or UPN) must exactly match their username in the OCI Identity Domain:

Identity Provider ClaimMust Match OCI Username
[email protected][email protected]

If usernames don’t match, the Oracle token exchange will fail and the user will see an authentication error.

If your identity provider marks the email as unverified (email_verified=false), AgentCube ignores the email-style claims and falls back to the token’s opaque subject ID, which will not match an email-style OCI username. Make sure your identity provider sends a verified email.

Once authenticated, what data a user can access is determined entirely by your data source’s security profiles:

  • Essbase: Application-level and filter-level security
  • Planning: Application-level security, data grants, and security filters
  • FCCS: Application-level security, data grants, and security filters

AgentCube does not add, remove, or modify any Oracle permissions. To change what data a user sees, update their permissions in Oracle EPM.

The Context Engine keeps its own list of accounts that may sign in to the admin console at /admin/. These are admin console accounts, not end users; they do not grant access to Oracle data. An admin signs in one of two ways:

  • Password: a username and password kept by the Context Engine.
  • Single sign-on: the admin signs in with your identity provider (for example Microsoft Entra ID). Available when Context Engine sign-in is enabled (AGENTCUBE_CE_AUTH_MODE=oidc). The sign-in page then shows a Sign in with Microsoft (or Sign in with single sign-on) button.

Manage admins under Admin & Security → Users:

  • Add an admin: Choose Password and set a username and password (minimum 12 characters), or choose Single sign-on and enter the admin’s sign-in name. No password is needed for a single sign-on admin.
  • Reset a password: Set a new password for another password admin (use Change password for your own). Single sign-on admins have no password here; their identity provider manages it.
  • Remove an admin: Delete the account. You cannot delete your own account, the last remaining admin, or the last password admin.
  • Sign-in name: Enter the name your identity provider sends for the person: their email address, or if your provider sends none, their preferred username or UPN. For Microsoft Entra ID this is usually the user’s UPN, such as [email protected]. The match ignores letter case.
  • Who can sign in: Signing in to your identity provider is not enough. Only people you have added here as single sign-on admins can open the admin console. Anyone else sees “Your account is not set up as an administrator.”
  • Account linking: The first time an admin signs in, the Context Engine links the account to that person’s identity in your provider. If a different person later signs in with the same name (for example, after a mailbox is reassigned), they are refused. Remove the admin and add them again to link the new person. Because the link is made at first sign-in, ask a new admin to sign in soon after you add them, and use an identity provider where people cannot choose their own email address (for Microsoft Entra ID, a single-tenant app registration).
  • Keep a password admin: The Context Engine always keeps at least one password admin, so you can still sign in if your identity provider is unavailable or misconfigured. Store that password somewhere safe.
  • No extra identity provider setup: Admin sign-in uses the same app registration and redirect URI as Context Engine sign-in. The first time each browser signs in, the Context Engine asks you to approve the admin console’s access once.

The same operations are available to scripts at /api/v1/admin/users, authenticated with an API key:

MethodPathPurpose
GET/api/v1/admin/usersList admins with their sign-in method
POST/api/v1/admin/usersAdd an admin: {"username": "...", "auth_method": "sso"}, or {"username": "...", "password": "..."} for a password admin
POST/api/v1/admin/users/{user_id}/reset-passwordSet a new password for a password admin: {"new_password": "..."}
DELETE/api/v1/admin/users/{user_id}Remove an admin
Terminal window
# PowerShell
$request = @{
Method = "Post"
Uri = "{ce_url}/api/v1/admin/users"
Headers = @{ "X-API-Key" = "{api_key}" }
ContentType = "application/json"
Body = '{"username": "[email protected]", "auth_method": "sso"}'
}
Invoke-RestMethod @request
Terminal window
# bash
curl -X POST "{ce_url}/api/v1/admin/users" \
-H "X-API-Key: {api_key}" -H "Content-Type: application/json" \
-d '{"username": "[email protected]", "auth_method": "sso"}'

Programmatic access to the Context Engine’s /api/v1/ endpoints uses API keys, managed under Admin & Security → API keys.