Skip to content
Documentation
Updated 9 minutes to read
Markdown

Choose the sign-in model for the new Nodinite Environment. The Portal stores these values in the generated package, and the installer uses them to configure the Web Client, Web API, Log API, and MCP Server, and to create the first administrator so that you can sign in after the installation.

This step follows Step 1: Basics and comes before Step 3: Infrastructure. You choose the mode once per Environment; to switch later, follow Migrate Authentication Method.

Auth step for the Contoso Environment Test: Windows auth with the administrator NodiniteAdmin and the service account svc-nodinite in the domain CONTOSO, and the auto-generated certificate, then Next to Infrastructure, animated walkthrough (7.12)
Animated walkthrough: keep Windows auth, enter the first administrator's domain, account, and email, enter the default service account under Service account defaults, keep Auto-generate certificate (recommended), and click Next.

Click Auth in the step bar, or Next in Step 1: Basics, to open the Authentication step.

Auth Mode panel with Windows auth selected and OAuth2 next to it (7.12)
The Auth Mode panel: Windows auth (selected), which uses Windows Authentication, or OAuth2.

Choose one authentication model for the Environment:

  • Windows auth: Active Directory and integrated security, for domain-joined Windows Server installations
  • OAuth2: OpenID Connect with an identity provider such as Microsoft Entra ID; required for the container runtimes

The rest of the page changes with this choice.

flowchart TB subgraph Both["fa:fa-shield-halved Both modes"] direction LR MODE{"Auth Mode"} -->|"Windows auth"| WIN["fab:fa-windows Windows settings"] MODE -->|"OAuth2"| SAD WIN --> SAD["fa:fa-user-gear Service Account Defaults"] SAD --> SM["fa:fa-key Secret Management"] end subgraph OAuth["fa:fa-key OAuth2 settings"] direction LR DISC["fa:fa-magnifying-glass Discovery URL"] --> IC["fa:fa-robot Installation Client"] IC --> WC["fa:fa-globe Web Client"] end subgraph Aud["fa:fa-id-card OAuth2 audiences and claims"] direction LR WA["fa:fa-cloud-sun Web API"] --> LA["fa:fa-cloud-arrow-down Log API"] LA --> MCP["fa:fa-plug MCP Server"] MCP --> CL["fa:fa-id-card Nodinite Claims"] end Both -->|"OAuth2 only"| OAuth OAuth --> Aud style MODE fill:#2678BD,color:#fff style WIN fill:#3F827B,color:#fff style DISC fill:#9E59BB,color:#fff style IC fill:#9E59BB,color:#fff style WC fill:#9E59BB,color:#fff style WA fill:#9E59BB,color:#fff style LA fill:#9E59BB,color:#fff style MCP fill:#9E59BB,color:#fff style CL fill:#9E59BB,color:#fff style SAD fill:#93d16d style SM fill:#93d16d

Diagram: the Auth step in Portal order. Windows auth (teal) adds the first administrator. Both modes share the service account defaults (Domain or Workgroup, optional gMSA) and the Secret Management certificate (green). OAuth2 (purple) then needs the Discovery URL, the Installation Client, and one block per Core Service, with the audience and, for the MCP Server, the scope, plus the Nodinite Claims that map to Roles through Policies.

When Windows auth is selected, the page asks for the administrator and the service account defaults. On Windows Server, the IIS web sites use Windows Authentication; see IIS Authentication settings and, for Kerberos, HTTP SPN for IIS.

Enter the initial administrator account and domain. The installer creates this first User, so that you can sign in to the Web Client after the installation.
Windows settings panel with the Administrator domain CONTOSO, the Administrator account NodiniteAdmin, and the Administrator email (7.12)
The Windows settings panel: the domain, the account, and the optional email of the first administrator.

Mandatory Variable Default Description
Authentication Method Windows Uses Active Directory and integrated security
Administrator domain <DomainName> Domain prefix for account names
Administrator account <NodiniteAdminUsrAccountName> Initial administrator account
Administrator email e.g. nodiniteadmin@contoso.com Optional; populates the User entry and is used by the E-mail Alarm Plugin with Nodinite Monitor Views

This section is the same for Windows auth and OAuth2. Decide whether the Environment runs in Domain mode or Workgroup mode, and whether to use gMSA accounts. gMSA requires the default Domain mode. By default, all services use the same account; you can override it per service in Step 4: Servers.

Mandatory Variable Default Description
Workgroup installation Off Turn on for a server that isn't domain-joined: all service and administrator accounts are then local Windows accounts on that server, and gMSA and multi-server designs are unavailable
Domain Name <DomainName> Domain of the default service account, in NetBIOS format (CONTOSO) or UPN/FQDN format (contoso.com)
Account Name <DefaultServiceAccountName> Account the services run as unless overridden; the Portal adds the domain as a prefix (CONTOSO\) or a suffix (@contoso.com), depending on its format
Use gMSA (Group Managed Service Account) Off Runs every service as a group managed service account

The service account needs the Logon as a Service right on every server; the Monitoring Service account also needs DCOM Local Activation permission (Monitoring Service prerequisites).

Service account defaults panel with Workgroup installation off, the Domain Name CONTOSO, the Account Name svc-nodinite shown with the prefix CONTOSO, and Use gMSA off (7.12)
The Service account defaults panel: the Portal shows the domain prefix in front of the account name.

If you use gMSA accounts, the account name must end with the $ suffix, such as N-Svc$. The Portal validates this under the field and in a summary at the bottom of the step, and you can't continue while the account name is invalid. A gMSA also needs a pre-created certificate; see Secret Management.

Service account defaults panel with Use gMSA on and the error gMSA account names must end with a dollar sign under the account name svc-nodinite (7.12)
gMSA validation: the account name must end with $.

Summary at the bottom of the step: Fix 1 validation error before continuing, Auth - Service account (7.12)
The summary at the bottom of the step lists every error, with the step and the field.

This section, also shared by both modes, configures the certificate that encrypts secrets, such as passwords and connection strings, in the installed Environment. See Secret Management for how it works.

  • Keep Auto-generate certificate (recommended) enabled unless your organization requires pre-provisioned certificates. Each service then creates its own certificate in the CurrentUser store of the account it runs as, at its first start; nothing is created in advance, and the installer has no certificate step.

Secret Management Certificate Configuration panel with Auto-generate certificate (recommended) on (7.12)
With Auto-generate certificate (recommended), each service makes its own certificate.

  • Turn it off to use a pre-created certificate, which a gMSA always needs. Then enter where it is: Certificate Store Location LocalMachine and Certificate Store Name My (fixed; CurrentUser can't be shared between the installer and the service account), and the Certificate Subject. A plain name gets the CN= prefix (nodinite-secrets.contoso.com becomes CN=nodinite-secrets.contoso.com); for a subject with several parts, enter it exactly as PowerShell shows it, such as CN=host, O=Org. With gMSA, see Install Certificates for gMSA.

Secret Management Certificate Configuration panel for a shared gMSA: Certificate Store Location LocalMachine, Certificate Store Name My, and the Certificate Subject nodinite-secrets.contoso.com (7.12)
With gMSA, certificate configuration is required: the certificate must be in LocalMachine\My.

When OAuth2 is selected, configure discovery and client settings from your identity provider.

The Portal shows the OAuth configuration as one large section; enter the values in the order the fields appear.

Enter the Discovery URL first, so that the identity metadata resolves before you continue with the client and API values (field details).

OAuth2 settings panel with the Discovery URL of a Microsoft Entra ID tenant (7.12)
The Discovery URL is the OpenID Connect discovery document of your identity provider.

In Installation Client, enter, in this order:

  • Client ID: the Application (client) ID of the client in your identity provider; for Microsoft Entra ID a GUID
  • Installation Client Scopes: the scopes the CLI requests; type one and click Add
  • Installation Client Claims: KEY=VALUE pairs, added with + Add as a key and a value; the installed configuration needs at least one

The installer CLI authenticates as this client, without user interaction, for installations, updates, and maintenance tasks. The Portal doesn't store its secret: the CLI prompts for it, or you pass it with --oauth2-agentinstall-secret (Step 7).

Installation Client panel with a Client ID, the scope api://webapi/.default, and a role claim (7.12)
The Installation Client panel: Client ID, scopes, and claims.

The Web Client section is the first OAuth application block in the lower half of the page. Complete these fields in the order shown (field details):

  • Require HTTPS Metadata: turn it on and keep it on. The installer rejects a discovery URL without HTTPS, so turning it off can't make an HTTP identity provider work.
  • Client ID
  • Callback Path: where the identity provider returns after sign-in, by default /signin-oidc
  • Signed-Out Callback Path: where it returns after sign-out, by default /signout-callback-oidc
  • Signed-Out Redirect URI: where the user lands after sign-out, such as /
  • Access Denied Path: the page a signed-in user sees when access is denied, by default /
  • Scopes: the scopes the Web Client requests at sign-in; the defaults openid, profile, email, and offline_access suit most identity providers

Web Client panel with Require HTTPS Metadata on, a Client ID, the default paths, and the default scopes openid, profile, email, and offline_access (7.12)
The Web Client panel with its defaults.

The Portal doesn't store the Web Client secret either: the CLI prompts for it, or you pass it with --oauth2-webclient-secret (Step 7).

After the Web Client, add the Audiences value for the Web API, the audience (aud) the Web API accepts in incoming tokens (field details).

Web API panel with the audience api://contoso-nodinite-webapi (7.12)
The Web API panel.

Scripts and services that call the Web API request tokens for this audience; see Call the Web API with OAuth 2.0 Client Credentials.

Next, configure the Log API (field details):

  • Enable Authentication: requires OAuth2 bearer tokens on the Log API. When it's off, the Log API accepts log submissions without authentication; leave it off only on an isolated network where every logging agent is trusted.
  • Audiences

The Log API has its own app registration, with the Application ID URI api://<client-id> and requestedAccessTokenVersion 2. In Audiences, enter the plain Application (client) ID of that registration, not the api:// URI. Callers request tokens with the scope api://<logapi-client-id>/.default.

Log API panel with Enable Authentication on and the Log API client ID as audience (7.12)
The Log API panel; see Log API OAuth.

For the app registration, app roles, and client setup, see Protect the Log API with OAuth 2.0 and Entra ID.

After the Log API, configure the MCP Server values (field details):

  • MCP Server Audiences: the audiences the MCP Server accepts in OAuth2 tokens
  • Web Client MCP Server Scope: the scope the Web Client requests for calls to the MCP Server, such as api://mcp/.default

MCP Server panel with the audience api://contoso-nodinite-mcp and the scope api://contoso-nodinite-mcp/.default (7.12)
The MCP Server panel.

For remote MCP clients, see MCP Endpoint External Access; for hosting, see MCP Endpoint in Core Services.

The final OAuth block is Nodinite Claims, where you define the claims used for authorization (field details).

At least one pair is required: a user whose token matches no claim is denied access, administrators included. Click + Add to add an entry.

Nodinite Claims panel with no values and the Add button (7.12)
The Nodinite Claims panel before you add an entry.

Enter the key, then the value, one entry per value (comma-separated values aren't supported): for App Roles, the key http://schemas.microsoft.com/ws/2008/06/identity/claims/role and the app role value; for groups, the key groups and the group Object ID. The bare key roles doesn't match.
Nodinite Claims panel with an empty entry: groups or roles as the key, a group ID or role name as the value (7.12)
An empty entry: the key (groups or the role claim) and the value (a group ID or a role name).

After the installation, grant access in the Web Client by mapping Claims to Roles through Policies.

...

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...