Account types
Do not assume these account types are interchangeable. A deployment can map an OAuth registration to an XMPP account internally, but access is still determined by the roles and privileges assigned to that identity.
Create a least-privilege role
- Open Administration → Users and Roles → Roles.
- Create a role named for the job, not for a person, such as
McpFileReaderorSupportEventViewer. - Add only the privileges required by that job.
- Assign the role to a test account.
- verify both an allowed action and a denied action.
OAuth scopes and privileges
OAuth scopes are translated to Neuron privileges with the prefixOAUTH.Scope.; colons in a scope become periods. For example, the MCP scope root MCP:Files maps into the OAUTH.Scope.MCP.Files privilege hierarchy.
Dynamic OAuth clients and XMPP-backed OAuth clients have no useful privileges by default. Registration establishes identity, not authorization.
Separate human and machine access
- Give each integration its own account or OAuth client.
- Never share the main administrator credential with a service.
- Rotate a compromised client without affecting unrelated applications.
- Use short-lived bearer tokens and protect refresh tokens.
- Disable an account before deleting it when investigating an incident.
- Log actor, object, facility, module, and event ID for privileged automation.
Recover administrative access
If all administrator access is lost, stop and identify the active database and program-data folder before editing anything. Recovery procedures are storage-provider and build specific. Make a backup first, then use the recovery utility or documented database procedure shipped with the same build. Do not create a second fresh configuration over the existing data directory; it can replace keys needed to decrypt the database.Audit checklist
- Every account has an owner and purpose.
- Machine accounts use narrowly scoped roles.
- Former staff and retired services are disabled.
- OAuth redirect URIs are exact and still controlled.
- Privilege changes produce auditable events.
- Administrative pages are also restricted at the network/WAF layer.