- 11 minutes to read

Add or Manage Claim

Master Claims management in Nodinite v7 with this comprehensive guide. Learn how to create, edit, delete, and restore authorization Claims for your OIDC/OAuth 2.0 deployment.

  • ✅ Inline editing for quick Claim creation
  • ✅ Track Claim usage across Policies
  • ✅ Restore deleted Claims when needed
  • ✅ Filter and search large Claim lists

Add the Claim role = Contoso.Finance.Read, add it to the Policy Contoso: Finance Access, and see the Policy badge in the Used In column, animated walkthrough (7.12)
Animated walkthrough: add a Claim and put it to use in a Policy.

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.

New to Claims? Read What is a Claim? first to understand the authorization model.

Accessing Claims Management

Navigate to Administration → Access Management → Claims in the Nodinite Web Client. The menu item shows only in OIDC/OAuth 2.0 mode, and only for members of the Administrators Role. The list itself is described in the Claims Overview.

Administration sidebar with the Claims menu item
Location of the Claims menu item in the Administration sidebar.

Claims List View

The Claims management page displays all Claims with the following information:

Claims list with the filter box, the Include deleted checkbox, and nine Contoso sample Claims with their Used In Policy badges
The Claims list with Key, Value, Description, and the Policies each Claim is used in.

Columns

Column Description
(first column, no header) Available or Deleted badge, only while Include deleted is checked
Key The claim type, with the Created and Changed sort buttons and dates under it
Value The claim value
Description Optional description explaining the Claim's purpose
Used In Shows which Policies use this Claim: up to 10 badges, then a +N more badge whose tooltip lists the rest
(actions) Pencil (Edit) button, and an Action menu with Show in Mapify, Show in Mermaid, and Delete (or Restore for a deleted Claim)

Filters and Controls

  • Add Claim button - Create a new Claim
  • Search Filter - Filter Claims by Key or Value (the Description is not searched)
  • Include deleted - Toggle to show/hide deleted Claims (Show deleted records)
  • Sorting - Sort by Key, Value, Description, or (with the buttons under Key) Created and Changed; Used In is not sortable

Adding a New Claim

Follow these steps to create a new Claim:

Step 1: Click "Add Claim"

Click the Add Claim button in the top-right corner of the Claims page. A new row opens in edit mode at the end of the current page.

Add Claim button on the Claims page
The "Add Claim" button adds a new row in inline edit mode.

Step 2: Enter Claim Details

A new row appears in inline edit mode. Fill in the required fields:

New Claim row in inline edit mode with Key, Value, and Description fields
The new row accepts the Key, Value, and an optional Description.

Field Required Description
Key ✅ Yes The claim type as the Web API sees it after .NET's mapping (e.g., http://schemas.microsoft.com/ws/2008/06/identity/claims/role for a roles claim, groups, email_verified); see How the Key is matched
Value ✅ Yes The claim value (e.g., Contoso.Finance.Read, true, europe)
Description ❌ No A clear description of what this Claim represents

Under Key, a hint explains that in OIDC / OAuth 2.0 mode ASP.NET renames some token claims before Nodinite compares the Key (roles and role become http://schemas.microsoft.com/ws/2008/06/identity/claims/role, group, email, and sub are renamed too). Type a renamed name and a warning says the Claim never matches, with a one-click Use the mapped Key link. Show every renamed token claim opens the full table.

New Claim row with the Key roles, the Key hint listing the renamed token claims, and the warning that roles reaches Nodinite as the role schema URI with the Use the mapped Key link (7.12)
Typing roles shows the warning; Use the mapped Key replaces it with the Key Nodinite compares.

Tip

Best Practices for Keys:

  • Use the exact key name your identity provider sends (see OpenID Field Mapping Quick Reference)
  • Use lowercase for consistency in your own keys
  • Use underscores for multi-word keys (e.g., access_level)
  • Choose descriptive names (e.g., department not dept)

[!TIP] Best Practices for Values:

  • Use lowercase for consistency
  • Keep values simple and meaningful
  • Avoid special characters when possible

Step 3: Save the Claim

Click the Save button (checkmark icon) to create the Claim. Save stays disabled until Key and Value are filled in and the combination is free; the row checks this while you type.

Save button with checkmark icon on the new Claim row
The checkmark Save button creates the Claim.

Step 4: Verify Creation

The new Claim appears in the list with:

  • The green success message Added claim successfully!
  • Its Created date under the Key
  • Empty "Used In" column (not yet assigned to any Policy)

Claims list row showing the newly created Claim
The new Claim appears in the list with an empty 'Used In' column.


Editing an Existing Claim

To modify a Claim's Key, Value, or Description:

Edit the Description of the Claim Contoso.Warehouse.Read and save, then change its Value and cancel, animated walkthrough (7.12)
Animated walkthrough: Save keeps the change, Cancel puts the old values back.

Step 1: Click the Edit Button

Click the Edit button (pencil icon) to the left of the Action button.

Claims list row with the pencil Edit button highlighted
The pencil button puts the Claim row in edit mode.

Step 2: Modify Fields

The row enters edit mode. Modify any of the fields:

Claim row in edit mode with editable Key, Value, and Description
A Claim row in edit mode; all three fields can be changed.

  • Key - Change the claim key
  • Value - Change the claim value
  • Description - Update the description

Warning

Changing Key or Value:

  • Creates a new unique Key/Value combination
  • Cannot create a duplicate of an existing Claim
  • Changes what every Policy that uses this Claim requires; if your identity provider doesn't send the new value, users matched by those Policies lose access

Step 3: Save or Cancel

  • Click "Save" (checkmark icon) to apply changes:
    Save button with checkmark icon on the Claim row
    The checkmark button saves the row.
  • Click "Cancel" (X icon) to discard changes:
    Save and Cancel buttons on a Claim row in edit mode
    The X button discards the changes.

Step 4: Verify Changes

  • The Changed date under the Key updates
  • The success message Updated claim successfully! appears (Save only counts when something changed)
  • Signed-in users of the Policies using this Claim get the change within about 15 seconds

Deleting a Claim

To delete a Claim:

Delete the Claim Contoso.Finance.Read, see the Deleted badge in the Policy Contoso: Finance Access, then restore the Claim, animated walkthrough (7.12)
Animated walkthrough: delete a Claim, see what its Policy shows meanwhile, and restore it.

Step 1: Open Actions Menu

Click the "Action" dropdown button on the Claim row.

Action dropdown menu on a Claim row with Show in Mapify, Show in Mermaid and Delete
The Action menu on an available Claim holds the Delete menu item.

Step 2: Select Delete

Select "Delete" from the menu.

Action menu with the Delete menu item highlighted
The highlighted 'Delete' menu item opens the confirmation modal.

Step 3: Confirm Deletion

A confirmation modal appears:

Confirm intent to Delete modal for the Claim Group = Contoso-Interim: You can't delete this Claim, it is used in the Policy Contoso: Interim Staff, remove it from those Policies first; Yes is disabled, No is enabled (7.12)
The Confirm intent to Delete modal for a Claim that a Policy uses: it names the Claim as Key = Value, lists the Policies, and Yes is disabled.

The modal asks Are you sure you want to Delete Claim: ‹Key› = ‹Value›?. When Policies use the Claim, it says You can't delete this Claim: ‹Key› = ‹Value›. It is used in these Policies:, lists them, ends with Remove it from those Policies first., and Yes is disabled New 7.12.

Click Yes to confirm, or No to abort.

Important Notes About Deletion

Caution

A Claim that an active Policy uses can't be deleted. Replace it on those Policies first; see Claim Can't Be Deleted - Used in Policies. The Web API answers 409 Conflict to a delete of a used Claim.

You can't delete a Claim whose removal would take the Administrators Role from your own account: the Web API answers 409 Conflict with Failed to delete Claim. Modifying it in this way would have removed the Administrators Role from your account.

409 Conflict banner on the Claims page: Failed to delete Claim. Modifying it in this way would have removed the Administrators Role from your account (7.12)
The Claim stays in the list; nothing changed.

Important

Deleted Claims and Policies:

  • A Policy shows a deleted Claim only when the Policy was deleted together with the Claim and restored afterwards
  • The Claim then has a Deleted badge on the Policy's Selected tab, and the Policy grants nothing until the Claim is restored or removed
  • You can restore deleted Claims at any time

[!TIP] Best Practice: Review the "Used In" column before deleting to understand which Policies will be affected.

Step 4: Verify Deletion

  • Claim is removed from the main list
  • A green success message names the Claim's Key
  • To see deleted Claims, enable the "Include deleted" filter

Restoring a Deleted Claim

To restore a previously deleted Claim:

Step 1: Enable "Include deleted" Filter

Check the "Include deleted" checkbox at the top of the Claims page.

The filter bar with the Include deleted checkbox ticked
With Include deleted checked, the first column shows Deleted and Available badges.

Step 2: Locate the Deleted Claim

Deleted Claims appear with:

  • Red Deleted badge in the first column
  • Full historical information preserved (Key, Value, Description, and Used In)

Claims list row with a red Deleted status badge
Deleted Claims keep their Key, Value, and Description.

Step 3: Open Actions Menu

Click the "Action" dropdown on the deleted Claim.

Step 4: Select Restore

Select "Restore" from the menu.

Action menu with the Restore menu item on a deleted Claim
On a deleted Claim, 'Restore' replaces 'Delete' in the Action menu.

Step 5: Confirm Restoration

A confirmation modal appears:

Confirm intent to Restore modal for the Claim Contoso: Verify F key = Contoso: Verify F value, used in 12 Policies that grant their Roles again once it is restored, with Yes and No (7.12)
The Confirm intent to Restore modal names the Claim as Key = Value and lists the Policies that grant their Roles again once it is restored.

Click Yes to confirm. The success message reads Claim ‹Key› is now restored!

Step 6: Verify Restoration

  • Claim returns to active status
  • "Deleted" badge removed
  • Available for use in Policies again
  • Warning badges removed from Policies where it was referenced

Validation Rules

Nodinite enforces these rules when managing Claims:

Required Fields

  • ❌ Cannot save without a Key
  • ❌ Cannot save without a Value

Claim row in edit mode with an empty Key showing This field is required and a disabled Save button
An empty field shows This field is required, and Save stays disabled.

Unique Combination

  • ❌ Cannot create a Claim with an existing Key/Value combination, deleted Claims included: the row shows This Key/Value combination is already in use under the Key, and Save stays disabled
  • ✅ Can create department=finance and department=hr (different values)
  • ✅ Can create department=finance and region=finance (different keys)

Claim row in edit mode showing This Key/Value combination is already in use under the Key
Check Include deleted when this appears: the duplicate may be a deleted Claim you can restore.

Add a Claim with the Value of a deleted Claim, get the duplicate error, then restore the deleted Claim instead, animated walkthrough (7.12)
Animated walkthrough: the duplicate error points to a deleted Claim, so restore it instead of adding a new one.

Case Sensitivity

  • Keys and Values are not case-sensitive: department=Finance and department=finance are the same Claim, so you can't add both
  • Sign-in matching ignores case too, after trimming spaces

Viewing Claim Usage

Understanding which Policies use a Claim:

"Used In" Column

The "Used In" column shows:

Used In column with the Contoso: Finance Access Policy badge
Each badge in the "Used In" column links to a Policy that contains the Claim.

  • Policy badges - Clickable links to each Policy; hover a badge to see that Policy's description
  • Up to 10 badges, then +N more - after the tenth Policy a +N more badge counts the rest, and its tooltip lists them; Show in Mapify in the Action menu draws them all

Used In column with ten Policy badges and a +2 more badge on the Claim Contoso: Verify F key (7.12)
After ten badges, +2 more stands for the remaining Policies.

  • Empty - Claim not used in any Policy

Click any Policy badge to:

  • Open that Policy detail page
  • See all Claims in the Policy
  • Edit the Policy if needed

Before Deletion

Use the "Used In" column to:

  • Identify impact of deleting a Claim
  • Plan migration to replacement Claims
  • Coordinate with team members

Best Practices

Naming Conventions

Consistent Key Naming

✅ Good:
   department
   access_level
   region
   environment

❌ Avoid:
   Dept
   AccessLevel
   REGION
   env-name

Consistent Value Naming

✅ Good:
   finance
   admin
   europe
   production

❌ Avoid:
   Finance_Dept
   ADMIN
   EU
   prod-01

Descriptions

Always provide clear descriptions:

✅ Good Description:
   "Member of the Finance Department - grants access to financial 
    integrations, invoicing systems, and financial reporting"

❌ Poor Description:
   "Finance"
   "Department claim"

Organization

Group related Claims logically:

Department Claims

  • department=finance
  • department=operations
  • department=hr
  • department=it

Access Level Claims

  • access_level=readonly
  • access_level=editor
  • access_level=admin

Regional Claims

  • region=europe
  • region=americas
  • region=asia

Regular Maintenance

  • Review Claims quarterly
  • Remove unused Claims
  • Update descriptions for clarity
  • Verify Policy assignments

Tip

Looking for more examples? See Common Scenarios for comprehensive implementation guides including department-based access, regional authorization, and multi-tenant setups.

[!NOTE] Having issues? Check the Troubleshooting Guide for solutions to common Claim management problems.


Security Considerations

Principle of Least Privilege

Create specific Claims rather than overly broad ones:

✅ Specific Claims:
   department=finance
   access_level=readonly
   view=invoices_only

❌ Too Broad:
   access=all
   permission=everything
   role=superuser

Audit Trail

Every Claim action is tracked and searchable in Log Audits (application Web API, functions cnfg_Claims_Insert, cnfg_Claims_Update, cnfg_Claims_Delete, and cnfg_Claims_Restore):

  • Creation timestamp and user
  • Modification history
  • Deletion and restoration events
  • Usage in Policies

Review Before Deletion

Always check "Used In" before deleting:

  1. Understand impact on Policies
  2. Plan replacement Claims if needed
  3. Communicate with team
  4. Document the change

Quick Reference

Action Steps
Add Claim Click "Add Claim" → Enter Key, Value, Description → Save
Edit Claim Click Edit icon → Modify fields → Save
Delete Claim Action menu → Delete → Yes
Restore Claim Enable Include deleted → Action menu → Restore → Yes
Find Usage Check "Used In" column → Click Policy badges
Search Claims Use search filter → Type Key or Value

Next Steps