- 4 minutes to read

OpenID Field Mapping Quick Reference

Use this page while you fill in the OAuth2 part of the Portal Step 2: Auth for a Nodinite v7 Environment. Each row names the Portal field, the Microsoft Entra ID value it takes, and the section of Register Nodinite Applications in Azure AD (Entra ID) with OpenID where you created it. For what each field does, follow the link in the Section column to Install Nodinite v7 - OpenID Connect (OIDC) and OAuth 2.0.

What This Page Helps You Do

  • Match each Portal field to the correct Entra ID value
  • Reduce configuration mistakes across the Discovery URL, Installation Client, Web Client, Web API, Log API, and MCP Server settings
  • Keep all required IDs, scopes, and claims in one checklist

Field Mapping Table

Section Field Where to Get It Example / Format Your Value
OAuth2 settings Discovery URL Directory (tenant) ID, Entra 1.1 https://login.microsoftonline.com/<tenant-id>/v2.0/.well-known/openid-configuration
Installation Client Client ID NodiniteInstallationClient Application (client) ID, Entra 3.1 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Installation Client Installation Client Scopes webApi Application (client) ID, Entra 3.2 api://<webApi-client-id>/.default
Installation Client Installation Client Claims - Key Fixed value http://schemas.microsoft.com/ws/2008/06/identity/claims/role
Installation Client Installation Client Claims - Value App role value on webApi, Entra 1.3.1 AppRole_WebApi_all
Web Client Require HTTPS Metadata Required: OAuth2 requires HTTPS, so keep it checked (the installer rejects non-HTTPS discovery URLs) Checked
Web Client Client ID webClient Application (client) ID, Entra 2.1 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Web Client Callback Path Path of the registered redirect URI, Entra 2.2 /signin-oidc
Web Client Scopes Default OIDC scopes plus the webApi scope, Entra 1.2 openid, profile, email, offline_access, api://<webApi-client-id>/nodinite_webapi_all
Web API Audiences webApi Application (client) ID, Entra 1.1 xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Log API Audiences (when Enable Authentication is checked) logApi Application (client) ID, plain GUID, not the api:// URI; see Protect the Log API xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
MCP Server MCP Server Audiences MCP API Application (client) ID, in both forms; see MCP API registration <mcp-api-app-id> and api://<mcp-api-app-id> (Portal default api://mcp)
MCP Server Web Client MCP Server Scope MCP API Application ID URI api://<mcp-api-app-id>/.default (Portal default api://mcp/.default)
Nodinite Claims Nodinite Claims (App Roles) App role value on webApi, Entra 1.3.2; one entry per value KEY http://schemas.microsoft.com/ws/2008/06/identity/claims/role, VALUE Nodinite.Admin
Nodinite Claims Nodinite Claims (Groups) Entra ID group Object ID KEY groups, VALUE the group Object ID

Client Secrets

The client secrets aren't Portal fields. The CLI asks for them when you run the generated package, or you pass them as arguments; see Client Secrets and Step 7.

Secret Where to Get It CLI argument Your Value
webClient client secret Entra 2.4 --oauth2-webclient-secret Store in your secret vault
NodiniteInstallationClient client secret Entra 3.3 --oauth2-agentinstall-secret Store in your secret vault

Claim Strategy Reminder

Choose one user authorization approach for the Nodinite Claims:

  • App roles: the role claim key with role values such as Nodinite.Admin. Recommended: they keep token payloads compact, also for users in many groups.
  • Groups: the groups claim with Entra ID group Object IDs; this needs the groups claim in the token configuration.

The token of the first administrator must carry at least one of the claims you enter, or that user is locked out. After installation, you grant access by combining Nodinite Claims into Policies and assigning them to Roles; see What is a Claim? for the token-to-Claim mapping.

MCP Server Reminder

The Portal defaults api://mcp and api://mcp/.default are placeholders. With Entra ID, create the MCP API app registration first, then enter its values in both MCP Server fields. Also grant the webClient admin-consented delegated permissions for the MCP API, or the Web Client AI Assistant shows no tools. For the full setup and remote clients, see MCP Endpoint and MCP Endpoint External Access.

Next Steps