Skip to content
Documentation
Updated 9 minutes to read
Markdown

Authentication controls how the Nodinite Non-Events Monitoring Agent calls Log Views through the Web Client APIs. This page centralizes authentication guidance for both Non-Events Configuration - Authentication and ACK/NAK Configuration - Authentication.

For every Non-Events deployment, apply this baseline:

  • Create a dedicated Non-Events role and grant it only the required access to relevant Log Views.
  • Assign that dedicated Role to the identity used by the Non-Events Monitoring Agent (service account, impersonated account, or mapped OAuth identity).
  • Validate authorization after changes to authentication mode, Log Views, or Role membership.

If you use OAuth 2.0 / OIDC, include Policies and Claims as part of this same vital configuration.

  • Define required Claims for the OAuth identity context used by the Non-Events agent.
  • Create Policies with appropriate Claims and assign those Policies to the dedicated Non-Events Role.
  • Verify the Identity Provider issues expected Claims and that resulting Policies authorize access to the intended Log Views.

Use Tags to Manage Large Configuration Estates

Section titled “ Use Tags to Manage Large Configuration Estates”

When you maintain many Non-Events configurations and many Log Views, Tags become a vital operational feature for administrators and Nodinite users.

Use Tags consistently to:

  • Group related Non-Events configurations and Log Views by domain, team, environment, or business process.
  • Speed up filtering, review, and troubleshooting across large monitoring estates.
  • Keep configuration intent visible even though Non-Events configurations and Log Views are closely tied by design but loosely coupled in the Nodinite platform architecture.

You can configure one of three authentication methods based on your security model and platform setup:

graph TD A["fa:fa-shield-halved Authentication Tab"] --> B{"Environment and security model?"} B --> C["fa:fa-user-shield Windows Authentication"] B --> D["fa:fa-user-secret Windows Impersonation"] B --> E["fa:fa-key OAuth 2.0 / OIDC"] C --> F["fa:fa-database Log Views access using service account"] D --> G["fa:fa-user-check Log Views access using impersonated account"] E --> H["fa:fa-id-card Identity Provider token flow"] style C fill:#93d16d style D fill:#FFD525 style E fill:#2678BD style F fill:#93d16d style G fill:#FFD525 style H fill:#2678BD

Diagram: Authentication decision flow showing when to choose Windows authentication, Windows impersonation, or OAuth 2.0 / OIDC based on access model and identity architecture.

Method Use when Credentials required Notes
Windows Authentication Agent service account already has access to Log Views No extra credentials Preferred when possible for simpler operations
Windows Authentication with Impersonation Service account lacks rights to required Log Views Domain user + password Use dedicated least-privilege account
OAuth 2.0 / OIDC Nodinite v7 uses OpenID Connect with an Identity Provider Client ID + Client Secret + Scope + IDP token endpoint Recommended for modern centralized identity

Windows authentication uses the service account identity of the Non-Events Monitoring Agent.

graph LR A["fa:fa-server Non-Events Monitoring Agent service"] --> B["fa:fa-user-shield Service Account"] B --> C["fa:fa-database Log Views API access"] style A fill:#2678BD style B fill:#93d16d style C fill:#93d16d

Diagram: Windows authentication flow where the agent service account directly accesses Log Views without additional credentials.

Authentication tab – Windows
Example of Windows authentication selected in the Authentication tab.

Windows Authentication with Impersonation

Section titled “ Windows Authentication with Impersonation”

Use impersonation when the service account running the agent cannot access required Log Views.

graph LR A["fa:fa-server Non-Events Monitoring Agent service"] --> B["fa:fa-user-secret Impersonated Domain User"] B --> C["fa:fa-database Log Views API access"] style A fill:#2678BD style B fill:#FFD525 style C fill:#93d16d

Diagram: Windows impersonation flow where the agent switches identity to a specific domain user to reach protected Log Views.

Authentication tab – Windows Impersonation
Example of Windows impersonation selected in the Authentication tab.

Configure these values:

  • Domain User - Enter the Windows account to impersonate (format: DOMAIN\User).
  • Password - Enter the password for the impersonation account.

When impersonation is active, (*) appears in the Authentication tab label.

When Nodinite v7 uses OpenID Connect, configure OAuth 2.0 client credentials so the agent can request tokens from your Identity Provider.

graph LR A["fa:fa-server Non-Events Monitoring Agent"] --> B["fa:fa-key Client ID + Client Secret"] B --> C["fa:fa-id-card Identity Provider Token Endpoint"] C --> D["fa:fa-ticket Access Token"] D --> E["fa:fa-database Log Views API access"] style A fill:#2678BD style B fill:#2678BD style C fill:#2678BD style D fill:#93d16d style E fill:#93d16d
*Diagram: OAuth 2.0 / OIDC client credentials flow where the agent requests an access token from the Identity Provider before calling Log Views APIs.*

Authentication Tab - OAuth Protected
Example of OAuth 2.0 / OIDC authentication enabled in the Authentication tab.

Use this single table as the source of truth for the current OAuth implementation in the Non-Events configuration dialog.

Current UI Label Mapped guidance Required Notes
Authentication Method Enable OAuth 2.0 / OIDC ✅ Yes Select OAuth 2.0 Client Credentials
Token URL IDP Token Endpoint ✅ Yes For example https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token
Client ID Client ID ✅ Yes Application (client) ID from Identity Provider registration
Client Secret Client Secret ✅ Yes Secret value for the registered application
Scope Scope ✅ Yes Use API scope compatible with your Web API registration, commonly api://<webapi-client-id>/.default
  • Enable Protected only when Nodinite v7 is configured with an Identity Provider (Azure AD, Entra ID, or other OIDC provider).
  • Register the application in your Identity Provider and grant permissions to Nodinite Web API resources.
  • Ensure the IDP Token Endpoint is reachable from the server hosting the Non-Events Monitoring Agent.
  • Store a copy of the Client Secret securely in your organization's secret management system.
  • For Azure AD and Entra ID setup details, follow Install Nodinite v7 - OpenID Connect.

If a customer still gets 401 Unauthorized after filling all OAuth fields, verify these items in order:

  1. Authentication Method is correct: Set to OAuth 2.0 Client Credentials.
  2. Token URL tenant is correct: The tenant in Token URL must match where the app registration exists.
  3. Scope targets the correct API: Scope must point to the Nodinite Web API application audience, usually api://<webapi-client-id>/.default.
  4. Client Secret is valid: Secret is not expired/revoked and copied as the secret value.
  5. Application permissions and consent: Required API permissions are granted and admin consent is completed in Identity Provider.
  6. Role-based access is still configured: The dedicated Non-Events Role still has access to required Log Views.
  7. Claims and Policies mapping is valid: OAuth identity receives expected Claims, mapped through Policies, then assigned to the dedicated Non-Events Role.
  8. Agent host can reach IdP and Web API: No network/proxy/TLS blocks between Monitoring Agent host, IdP Token URL, and Nodinite Web API.

Use these commands from the server where the Non-Events Monitoring Agent runs.

Terminal window
# Set values from your OAuth configuration
$TenantId = "<tenant-id>"
$ClientId = "<client-id>"
$ClientSecret = "<client-secret>"
$Scope = "api://<webapi-client-id>/.default"
$TokenUrl = "https://login.microsoftonline.com/$TenantId/oauth2/v2.0/token"
$WebApiBaseUrl = "https://<nodinite-host>/api"
# 1) Basic network reachability to IdP token endpoint
Test-NetConnection -ComputerName "login.microsoftonline.com" -Port 443
# 2) Request token with client credentials
$Body = @{
client_id = $ClientId
client_secret = $ClientSecret
scope = $Scope
grant_type = "client_credentials"
}
try {
$TokenResponse = Invoke-RestMethod -Method Post -Uri $TokenUrl -Body $Body -ContentType "application/x-www-form-urlencoded"
$AccessToken = $TokenResponse.access_token
"Token acquired. Expires in: $($TokenResponse.expires_in) seconds"
} catch {
# Typical failures here are invalid_scope, invalid_client, or invalid_grant
$_.Exception.Message
throw
}
# 3) Decode token payload to verify audience and claims quickly
$TokenParts = $AccessToken.Split('.')
$Payload = $TokenParts[1].PadRight($TokenParts[1].Length + (4 - $TokenParts[1].Length % 4) % 4, '=')
$JsonPayload = [Text.Encoding]::UTF8.GetString([Convert]::FromBase64String($Payload)) | ConvertFrom-Json
$JsonPayload | Select-Object aud, iss, appid, roles, scp, tid | Format-List
# 4) Call a protected Nodinite Web API endpoint with bearer token
Invoke-RestMethod -Method Get -Uri "$WebApiBaseUrl/logviews" -Headers @{ Authorization = "Bearer $AccessToken" }

Use the Copy API URL button on the target Log Views configuration and test that exact URL with the acquired token.

Terminal window
# Paste the exact URL from the Log View "Copy API URL" button
$LogViewApiUrl = "https://Nodinite.contoso.com:40001/api/Search/FlowSearch?logViewId=0&searchJson=..."
Invoke-RestMethod -Method Get -Uri $LogViewApiUrl -Headers @{ Authorization = "Bearer $AccessToken" }

Expected behavior:

  • If token and authorization are correct, you get a JSON response from the Log View API.
  • If the URL is malformed or truncated, you usually get 404 or model/query parsing errors.
  • If token is valid but authorization is missing, you typically get 401/403.

Typical outcomes when URL-related configuration is wrong:

  • Wrong host, port, or path -> 404 Not Found or connection/TLS errors.
  • Token is valid, but API audience is wrong (aud mismatch) -> 401 Unauthorized.
  • URL points to a Log View outside assigned Non-Events Role permissions -> 401/403 depending on deployment behavior.
  • Stale copied URL (deleted or changed Log View context) -> request fails even though OAuth token acquisition succeeds.
If X is wrong You typically see Z What to fix
Scope does not use correct API audience or missing /.default AADSTS1002012 / invalid_scope when requesting token Use api://<webapi-client-id>/.default for the registered Nodinite Web API audience
Client Secret is wrong/expired invalid_client / AADSTS7000215 during token request Create a new secret, copy the secret value exactly, update configuration
Token aud claim does not match Nodinite Web API 401 from API even though token request succeeds Request token for correct API scope and confirm aud in decoded token
Log View API URL host/port/path/query is incorrect 404, connection/TLS errors, or 401 when endpoint/tenant is mismatched Use Copy API URL from Log Views and retest with the same bearer token
Claims/Policies/Role chain missing for OAuth identity 401/403 from API after successful token acquisition Map required Claims to Policies, assign to a dedicated Non-Events Role, verify Log View access in the Role
  • Protected: ✅ Checked
  • Client ID: 12345678-1234-1234-1234-123456789abc
  • Client Secret: your_secure_client_secret
  • Scope: api://nodinite-prod-webapi/.default
  • IDP Token Endpoint: https://login.microsoftonline.com/{tenant-id}/oauth2/v2.0/token

Use the Authentication tab to apply the authentication settings described above. The same settings apply to both Non-Events and ACK/NAK configurations.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...