What is a Claim?
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

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.
Note
Claims are only available when Nodinite is configured for OIDC/OAuth 2.0 authentication mode (Install Nodinite v7 - OpenID). For Windows authentication mode, use Users and Windows AD Groups instead.
Get started now: Add or manage Claim user guide.
What is a Claim?
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.
Example Claims
| 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) |

The Claims management page in the Nodinite Web Client, where the 'Used In' column shows the Policy that uses each Claim.
Authorization Flow with Claims
Understanding how Claims fit into the authorization model:
- Claims - Individual key/value pairs (e.g.,
department=finance) - Policies - Groups of related Claims (e.g., "Finance Access Policy"); a user must match all Claims in a Policy
- Roles - Assigned Policies to grant permissions (e.g., "Finance User" role)
- Users - Authenticated via identity provider, receive Claims in their token
- Authorization - Nodinite matches user Claims with Policy requirements
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.
Key Characteristics
Unique Key/Value Combinations
The combination of Key and Value must be unique across all Claims:
- ✅ Allowed:
department=financeanddepartment=hr(different values) - ✅ Allowed:
access_level=adminandregion=admin(different keys) - ❌ Not allowed: Two Claims with
department=finance, even when one of them is deleted (restore it instead)
Case Sensitivity
Claims are case-insensitive:
Department=Financeanddepartment=financeare the same Claim, so you can't add both- At sign-in, Key and Value are compared without case, after trimming spaces:
department=Financematches a token withdepartment=finance
Tip
Even so, use the spelling your identity provider puts in the token, and consistent lowercase naming for your own Keys, so the list stays readable.
How the Key is matched
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
rolesorgroups) 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.
Source of Claims
Claims can originate from:
- Identity Provider - The values always come from the token your OIDC provider issues (Microsoft Entra ID, Keycloak, Okta, and so on)
- 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
Claim Management
You can manage Nodinite Claims from the Administration section in the Nodinite Web Client (Claims Overview):

The Claims menu item in the Administration sidebar.
Available Operations
- 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
Claims vs. Users/Groups
OIDC/OAuth 2.0 Mode (Claims)
Advantages of Claims
- Platform-independent (works with any identity provider)
- Flexible key/value structure
- Cloud-native and modern
- Supports external identity providers
When to Use Claims
- Cloud-based deployments
- Multi-platform environments
- Integration with Microsoft Entra ID, Okta, Auth0, etc.
- Need modern authentication protocols
Windows Authentication Mode (Users/Groups)
Advantages of Users and Groups
- Direct Active Directory integration
- Familiar Windows security model
- No additional configuration needed
When to Use Users and Groups
- On-premises deployments
- All users in Windows domain
- Traditional Windows-integrated security
Important
You cannot mix modes. Nodinite uses either Windows authentication (Users/Windows AD Groups) or OIDC/OAuth 2.0 (Claims/Policies), chosen in the Auth step at installation. To switch, see Migrate Authentication Method.
Best Practices
Naming Conventions
Use clear, consistent naming:
✅ Good Examples:
department=finance
access_level=admin
region=europe
environment=production
❌ Poor Examples:
Dept=Fin
LVL=1
EU=yes
Descriptive Documentation
Always provide a Description for each Claim:
- Explains the purpose of the Claim
- Helps other administrators understand usage
- Documents business logic
Example: A Documented Claim
- Key:
department - Value:
finance - Description: "Member of the Finance Department - grants access to financial integrations and reporting"
Logical Grouping
Plan Claims that will be grouped into Policies. Use one value per key in each Policy; see The Conflicting Claims Problem.
Finance Access Policy
department=financeaccess_level=readonlyregion=europe
Finance Admin Policy
department=financeaccess_level=adminregion=all
Review Before Deletion
Before deleting a Claim:
- Check the "Used In" column - shows which Policies reference this Claim
- Consider the impact on existing Policies
- 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
- Can be restored if needed
Caution
Replace the Claim on every Policy that uses it before you delete it; a Policy needs at least one Claim to be saved. See Claim Can't Be Deleted - Used in Policies.
Common Scenarios
More end-to-end examples are in Claims and Policies - Common Scenarios.
Department-Based Access
Claim 1: department=finance
Claim 2: department=operations
Claim 3: department=hr
Policy "Finance Access":
* Contains: department=finance
Policy "Operations Access":
* Contains: department=operations
Multi-Level Permissions
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
Regional Authorization
Claim 1: region=europe
Claim 2: region=americas
Claim 3: region=asia
Policy "European Integration Access":
* Contains: region=europe
* Contains: access_level=editor
Integration with Identity Provider
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 (Entra ID)
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.
Tip
App Roles are the recommended approach for Nodinite. They produce compact, readable claim values and avoid the token-size issues that occur when users belong to many Security Groups. See Register Nodinite Applications in Azure AD for how to create the App Roles.
Approach 1: App Roles (Recommended)
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.
Approach 2: Security Groups
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 |
Important
The Value must be the Group Object ID (GUID), not the Group display name. Copy the Object ID from Microsoft Entra ID → Groups → [your group] → Overview.
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.
Other OIDC Providers
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.
Troubleshooting
More answers are in the Access Management Troubleshooting guide and in Troubleshooting OAuth 2.0 Validation Failures.
Cannot Create Duplicate Claim
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)
Claim Not Appearing for Users
Issue: User doesn't have expected permissions despite Claim configuration
What to Check
- Is the Claim included in a Policy?
- Is the Policy assigned to a Role?
- Does the user match all Claims in that Policy?
- Does the user's identity provider provide this Claim (Entra ID Token Claims Validation)?
- Is the Key the mapped claim type (for example the long role URI, not
roles)? See How the Key is matched. - 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.
Deleted Claim Still Visible in 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.
How to Resolve
- Edit the Policy to remove the deleted Claim
- Add a replacement Claim if needed
- Or restore the deleted Claim if still required
Security Considerations
Principle of Least Privilege
Create specific Claims for granular permissions:
✅ Specific:
department=finance
access_level=readonly
view=invoices
❌ Too broad:
access=all
permission=everything
Regular Audits
- Review Claims periodically
- Remove unused Claims
- Update descriptions
- Verify Policy assignments
- Review changes in Log Audits
Claim Validation
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
Quick Facts
- 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 (
rolesbecomes 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
Next Steps
Related Topics
- Claims Overview - Manage all Claims
- Policies - Group Claims into Policies
- Policies Overview - Manage all Policies
- Roles - Assign Policies to Roles
- Roles Overview - Manage all Roles
- Claims and Policies - Common Scenarios - Implementation examples
- Install Nodinite v7 - OpenID - Configure OIDC/OAuth 2.0
- Install Nodinite v7 - OpenID - EntraID - Azure AD setup
- OpenID Field Mapping Quick Reference - Map installer fields to your identity provider
- Auth step in the Portal - Authentication mode and Nodinite Claims
- Entra ID Token Claims Validation - Check the claims in the token
- Add Users and Claims in Keycloak - Claims and Policies in the Docker sandbox
- Access Management - Overview of authorization
- Users - Windows authentication mode
- Windows AD Groups - Windows authentication mode
- Migrate Authentication Method - Switch authentication mode