Skip to content
Documentation
Updated 13 minutes to read
Markdown

Unlock flexible, cross-platform authorization in Nodinite v7 by understanding Claims. This page explains how Claims provide the foundation for modern authorization when using OIDC/OAuth 2.0 authentication mode.

  • ✅ Platform-independent authorization model
  • ✅ Flexible key/value pairs for any permission structure
  • ✅ Works with external identity providers
  • ✅ Foundation for Policy-based access control

Show in Mapify on the Claim role = Contoso.Finance.Read: the Claim and the Policy that uses it, Contoso: Finance Access, animated walkthrough (7.12)
Animated walkthrough: a Claim in context. Show in Mapify in Mapify draws the Claim and the Policy that uses it, at depth 1. Raise Depth to add the Role the Policy grants and what that Role reaches.

A Claim in Nodinite is a key/value pair that represents a specific permission, attribute, or characteristic used for authorization. Claims are the fundamental building blocks of the OIDC/OAuth 2.0 authorization model in Access Management.

Key Value Description
department finance Finance Department member
department operations Operations Department member
access_level admin Administrator access level
access_level readonly Read-only access level
region europe European region
http://schemas.microsoft.com/ws/2008/06/identity/claims/role developer Developer role (a token's role or roles claim; see How the Key is matched)

Claims Overview list with the filter box, the Include deleted checkbox, and nine Contoso sample Claims with their Used In Policy badges
The Claims management page in the Nodinite Web Client, where the 'Used In' column shows the Policy that uses each Claim.

Understanding how Claims fit into the authorization model:

  1. Claims - Individual key/value pairs (e.g., department=finance)
  2. Policies - Groups of related Claims (e.g., "Finance Access Policy"); a user must match all Claims in a Policy
  3. Roles - Assigned Policies to grant permissions (e.g., "Finance User" role)
  4. Users - Authenticated via identity provider, receive Claims in their token
  5. Authorization - Nodinite matches user Claims with Policy requirements
flowchart LR A["fa:fa-user User authenticates"] --> B["fa:fa-id-card Identity Provider"] B --> C["fa:fa-key Returns Claims<br/>in the token"] C --> D["fa:fa-shield-halved Claims match Policy"] D --> E["fa:fa-users-class Policy assigned to Role"] E --> F["fa:fa-unlock User granted access"] style A fill:#2678BD,color:#fff style B fill:#FFD525,color:#000 style C fill:#93d16d,color:#000 style D fill:#93d16d,color:#000 style E fill:#93d16d,color:#000 style F fill:#93d16d,color:#000

Blue: the user signing in; yellow: the external identity provider; green: the Nodinite matching steps that end in granted access.

What a Role then grants is set in its permission sets: Log Views, Monitor Views, Repository Model, and C4 Diagram Sets.

The combination of Key and Value must be unique across all Claims:

  • ✅ Allowed: department=finance and department=hr (different values)
  • ✅ Allowed: access_level=admin and region=admin (different keys)
  • ❌ Not allowed: Two Claims with department=finance, even when one of them is deleted (restore it instead)

Claims are case-insensitive:

  • Department=Finance and department=finance are the same Claim, so you can't add both
  • At sign-in, Key and Value are compared without case, after trimming spaces: department=Finance matches a token with department=finance

The Web API matches Claims on every request, against the access token the Web Client forwards. Before it compares, .NET renames some standard claim types, so the Key you enter is the claim type after that mapping, for every identity provider, not only Microsoft Entra ID:

In the token Key to enter in Nodinite
roles, role http://schemas.microsoft.com/ws/2008/06/identity/claims/role
group (singular) http://schemas.xmlsoap.org/claims/Group
email http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress
sub http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier
groups, Group, email_verified, custom names unchanged

A Claim with the Key roles therefore never matches. More rules:

  • Multi-valued claims - Each value of an array claim (such as roles or groups) counts on its own; one matching value is enough.
  • AND within a Policy, OR across Policies - A user must match all Claims of a Policy; every matching Policy gives its Roles.
  • About 15 seconds - The Web API keeps each user's Policy and Role graph for 15 seconds, so a Claim or Policy change reaches signed-in users quickly, without a new sign-in.

Claims can originate from:

  1. Identity Provider - The values always come from the token your OIDC provider issues (Microsoft Entra ID, Keycloak, Okta, and so on)
  2. Nodinite Configuration - The Claims you define in Nodinite (in the Claims Overview, or in the Nodinite Claims block of the Portal Auth step at installation) are only requirements: Nodinite adds no claims to a user, so a Claim matches only when the token carries it

You can manage Nodinite Claims from the Administration section in the Nodinite Web Client (Claims Overview):

Administration sidebar with the Claims menu item
The Claims menu item in the Administration sidebar.

  • Add new Claim - Create Claims inline
  • Edit Claim - Modify Key, Value, or Description
  • Delete Claim - Remove Claims (can be restored)
  • Restore Claim - Recover deleted Claims (Include deleted)
  • Filter Claims - Search by Key or Value
  • Show in Mapify - See the Policies, Roles, and views a Claim connects to
  • View Usage - See which Policies use each Claim
  • Platform-independent (works with any identity provider)
  • Flexible key/value structure
  • Cloud-native and modern
  • Supports external identity providers
  • Cloud-based deployments
  • Multi-platform environments
  • Integration with Microsoft Entra ID, Okta, Auth0, etc.
  • Need modern authentication protocols

Windows Authentication Mode (Users/Groups)

Section titled “Windows Authentication Mode (Users/Groups)”
  • Direct Active Directory integration
  • Familiar Windows security model
  • No additional configuration needed
  • On-premises deployments
  • All users in Windows domain
  • Traditional Windows-integrated security

Use clear, consistent naming:

✅ Good Examples:
department=finance
access_level=admin
region=europe
environment=production
❌ Poor Examples:
Dept=Fin
LVL=1
EU=yes

Always provide a Description for each Claim:

  • Explains the purpose of the Claim
  • Helps other administrators understand usage
  • Documents business logic
  • Key: department
  • Value: finance
  • Description: "Member of the Finance Department - grants access to financial integrations and reporting"

Plan Claims that will be grouped into Policies. Use one value per key in each Policy; see The Conflicting Claims Problem.

  • department=finance
  • access_level=readonly
  • region=europe
  • department=finance
  • access_level=admin
  • region=all

Before deleting a Claim:

  1. Check the "Used In" column - shows which Policies reference this Claim
  2. Consider the impact on existing Policies
  3. A Claim that an active Policy uses can't be deleted New 7.12: the Confirm intent to Delete dialog lists those Policies and its Yes is disabled
  4. Can be restored if needed

More end-to-end examples are in Claims and Policies - Common Scenarios.

Claim 1: department=finance
Claim 2: department=operations
Claim 3: department=hr
Policy "Finance Access":
* Contains: department=finance
Policy "Operations Access":
* Contains: department=operations
Claim 1: access_level=readonly
Claim 2: access_level=editor
Claim 3: access_level=admin
Policy "Read Access":
* Contains: access_level=readonly
Policy "Full Access":
* Contains: access_level=admin
* Contains: department=it
Claim 1: region=europe
Claim 2: region=americas
Claim 3: region=asia
Policy "European Integration Access":
* Contains: region=europe
* Contains: access_level=editor

When using external identity providers, the Key and Value of a Nodinite Claim must match the claim in the token, with the Key as .NET maps it (How the Key is matched). The OpenID Field Mapping Quick Reference maps the installer fields to your identity provider.

Azure AD includes claims in the JWT access token automatically. The token key name you must use in Nodinite depends on how you have configured Azure AD — App Roles or Security Groups. These are two different approaches and the token key names differ between them.

When a user is assigned an App Role in Azure AD (e.g., Nodinite.Admin), Azure AD adds a roles claim to the token:

{
"roles": ["Nodinite.Admin"]
}

The token carries the App Roles as roles, but Nodinite matches them on the standard role claim type. To map this to Nodinite, create one Claim per App Role value:

Key Value Description
http://schemas.microsoft.com/ws/2008/06/identity/claims/role Nodinite.Admin IT administrator — full access
http://schemas.microsoft.com/ws/2008/06/identity/claims/role Nodinite.User Standard user
http://schemas.microsoft.com/ws/2008/06/identity/claims/role Nodinite.ReadOnly Read-only access

The Key is always http://schemas.microsoft.com/ws/2008/06/identity/claims/role. A Claim with the bare key roles or role doesn't match. The Value is the App Role value you defined when creating the App Role in the Azure AD App Registration, one value per Claim: comma-separated values aren't supported.

When you configure Azure AD to include group membership in the token (optional token claim), Azure AD adds a groups claim containing the Group's Object ID (a GUID):

{
"groups": ["a1b2c3d4-0000-0000-0000-111122223333"]
}

To map this to Nodinite, create a Claim with:

Key Value Description
groups a1b2c3d4-0000-0000-0000-111122223333 Finance team AD group

End-to-End Example: App Roles → Claims → Policies → Roles

Section titled “End-to-End Example: App Roles → Claims → Policies → Roles”

This table shows the complete chain from Azure AD to Nodinite access control (role URI = http://schemas.microsoft.com/ws/2008/06/identity/claims/role):

Azure AD App Role Token claim in JWT Nodinite Claim (Key=Value) Example Policy Example Nodinite Role
Nodinite.Admin roles=Nodinite.Admin role URI = Nodinite.Admin IT Admin Policy Administrators
Nodinite.User roles=Nodinite.User role URI = Nodinite.User Standard User Policy Users
Nodinite.ReadOnly roles=Nodinite.ReadOnly role URI = Nodinite.ReadOnly Read-Only Policy Viewers

For fine-grained access (e.g., Finance vs HR), keep the Azure AD App Roles coarse (doorman) and use additional Nodinite Claims to represent business-domain membership:

Azure AD source Token claim in JWT Nodinite Claim (Key=Value) Combined in Policy
App Role Nodinite.User roles=Nodinite.User role URI = Nodinite.User Finance Full Access Policy
Security Group (Finance) groups=<Finance GUID> groups = <Finance GUID> Finance Full Access Policy

A user satisfies the Finance Full Access Policy only when their token contains both claims — they must be a Nodinite.User AND a member of the Finance group. This is the AND logic that Policies enforce.

See Register Nodinite Applications in Azure AD for how to create the App Roles, and What is a Policy? for how AND logic works in policies. If users don't get the expected access, see Entra ID Token Claims Validation.

Configure claim mapping in your identity provider:

  • Okta custom claims
  • Auth0 user metadata
  • Custom OIDC provider attributes

The principle is the same — check what key name the provider uses in the JWT token, map it with the table above (roles, role, group, email and sub are renamed), then create a Nodinite Claim with that key and the expected value.

More answers are in the Access Management Troubleshooting guide and in Troubleshooting OAuth 2.0 Validation Failures.

Issue: This Key/Value combination is already in use when creating a Claim

Solution: This Key/Value combination already exists. Either:

  • Use the existing Claim in your Policy
  • Choose a different Key or Value
  • Check if the Claim was deleted (enable the "Include deleted" filter)

Issue: User doesn't have expected permissions despite Claim configuration

  1. Is the Claim included in a Policy?
  2. Is the Policy assigned to a Role?
  3. Does the user match all Claims in that Policy?
  4. Does the user's identity provider provide this Claim (Entra ID Token Claims Validation)?
  5. Is the Key the mapped claim type (for example the long role URI, not roles)? See How the Key is matched.
  6. Is a Claim of the Policy deleted? A Policy with a deleted Claim matches nobody until the Claim is restored or removed from the Policy.

Issue: Deleted Claim appears in Policies with a Deleted badge

Why - It happens only when a Policy was deleted together with the Claim and restored afterwards, because a Claim that an active Policy uses can't be deleted. While the Claim is deleted, the Policy grants nothing, so resolve it soon.

  1. Edit the Policy to remove the deleted Claim
  2. Add a replacement Claim if needed
  3. Or restore the deleted Claim if still required

Create specific Claims for granular permissions:

✅ Specific:
department=finance
access_level=readonly
view=invoices
❌ Too broad:
access=all
permission=everything
  • Review Claims periodically
  • Remove unused Claims
  • Update descriptions
  • Verify Policy assignments
  • Review changes in Log Audits

When users authenticate:

  • Nodinite validates Claim keys and values
  • Case-insensitive matching, after trimming spaces
  • The whole Key and Value must match
  • No partial matching
  • Claims are key/value pairs used for authorization
  • Available only in OIDC/OAuth 2.0 mode
  • Key/Value combination must be unique, deleted Claims included
  • Claims are case-insensitive
  • The Key is the claim type after .NET's mapping (roles becomes the long role URI)
  • Claims are grouped into Policies
  • Policies are assigned to Roles
  • Values come from the identity provider; Claims defined in Nodinite are requirements
  • Deleted Claims can be restored
  • Always provide a Description for clarity

...

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