---
title: Add or Manage Claims - Complete Guide to Claims Management in Nodinite
description: Step-by-step guide to adding, editing, deleting, and restoring Claims in Nodinite. Learn how to manage authorization key/value pairs for OIDC/OAuth 2.0 authentication mode with inline editing and validation.
---

# 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)][20]  
*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.
>
>:fa-info-circle: New to Claims? Read [What is a Claim?][Claims] 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][Roles]. The list itself is described in the [Claims Overview][].

![Administration sidebar with the Claims menu item][1]  
*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][2]  
*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

* :fa-plus-square: **Add Claim** button - Create a new Claim
* :fa-search: **Search Filter** - Filter Claims by Key or Value (the Description is not searched)
* :fa-toggle-on: **Include deleted** - Toggle to show/hide deleted Claims ([Show deleted records][Show Deleted])
* :fa-sort: **Sorting** - Sort by Key, Value, Description, or (with the buttons under Key) Created and Changed; Used In is not sortable

---

## :fa-plus-square: 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][3]  
*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][4]  
*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][Claim Key mapping]|  
|**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)][24]  
*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][5]  
*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][Policies])

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

---

## :fa-edit: 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)][21]  
*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][7]  
*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][8]  
*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][Policies] 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][5]  
   *The checkmark button saves the row.*  
* Click **"Cancel"** (X icon) to discard changes:  
   ![Save and Cancel buttons on a Claim row in edit mode][9]  
   *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

---

## :fa-trash-can: 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)][22]  
*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][10]  
*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][11]  
*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)][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 :new7.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][Troubleshooting - Claim 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][Roles] 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)][26]  
*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

---

## :fa-redo: 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][13]  
*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][14]  
*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][15]  
*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)][16]  
*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][17]  
*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][18]  
*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)][23]  
*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][19]  
*Each badge in the "Used In" column links to a Policy that contains the Claim.*  

* **Policy badges** - Clickable links to each [Policy][Policies]; 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)][25]  
*After ten badges, **+2 more** stands for the remaining Policies.*  

* **Empty** - Claim not used in any [Policy][Policies]

### Navigating to Policies

Click any Policy badge to:

* Open that [Policy][Policies] 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

```text
✅ Good:
   department
   access_level
   region
   environment

❌ Avoid:
   Dept
   AccessLevel
   REGION
   env-name
```

#### Consistent Value Naming

```text
✅ Good:
   finance
   admin
   europe
   production

❌ Avoid:
   Finance_Dept
   ADMIN
   EU
   prod-01
```

### Descriptions

Always provide clear descriptions:

```text
✅ 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

* :fa-calendar: Review Claims quarterly
* :fa-trash: Remove unused Claims
* :fa-pen: Update descriptions for clarity
* :fa-list-check: 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:

```text
✅ 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|  

---

## :fa-hand-point-right: Next Steps

* :fa-shield-check: [What is a Policy?][Policies] - Learn how to group Claims  
* :fa-shield-check: [Add or manage Policy][] - Create and manage Policies  
* :fa-users-class: [What is a Role?][Roles] - Understand Roles  

## :fa-link-horizontal: Related Topics

* :fa-key: [What is a Claim?][Claims] - Understanding Claims  
* :fa-key: [Claims Overview][] - Manage all Claims  
* :fa-shield-check: [What is a Policy?][Policies] - Understanding Policies  
* :fa-shield-check: [Policies Overview][] - Manage all Policies  
* :fa-shield-check: [Add or manage Policy][] - Create and manage Policies  
* :fa-users-class: [What is a Role?][Roles] - Understanding Roles  
* :fa-users-class: [Roles Overview][] - Manage all Roles  
* :fa-user-secret: [Access Management][] - Authorization overview  
* :fa-id-card: [Install Nodinite v7 - OpenID][] - Configure OIDC/OAuth 2.0  
* :fa-table: [OpenID Field Mapping Quick Reference][] - Map claims from your identity provider  
* :fa-magnifying-glass: [Entra ID Token Claims Validation][] - Check the claims in the token  
* :fa-user-tag: [Log Audits][] - Audit trail of Claim changes  
* :fa-book: [Common Scenarios][] - Implementation examples  
* :fa-wrench: [Troubleshooting Guide][] - Solutions to common issues  

[1]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimsMenu.png
[2]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/Overview.png
[3]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/AddClaimButton.png
[4]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimInlineEdit.png
[5]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimSaveButton.png
[6]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimCreated.png
[7]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimEditButton.png
[8]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimEditMode.png
[9]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimSaveCancel.png
[10]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ActionsButtonMenuItems.png
[11]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimDeleteMenuItem.png
[12]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimDeleteModal.png
[13]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/IncludeDeletedFilter.png
[14]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/DeletedClaimInList.png
[15]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimRestoreMenuItem.png
[16]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimRestoreModal.png
[17]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimRequiredValidation.png
[18]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimDuplicateValidation.png
[19]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimUsedInColumn.png
[20]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/Claims_AddAndUseInPolicy.gif
[21]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/Claims_InlineEdit.gif
[22]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/Claims_DeleteRestore.gif
[23]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/Claims_DuplicateRestore.gif
[24]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimKeyHint.png
[25]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimUsedInMoreBadge.png
[26]:{ndm}/Documentation%20Pictures/IM/WebClient/Admin/Authorization/Claims/ClaimDelete409Conflict.png

[Access Management]:{ndr}/Administration/3.%20Access%20Management/Overview.md
[Add or manage Policy]:{ndr}/Administration/3.%20Access%20Management/5.%20Policies/Features/Add%20or%20manage%20Policy.md
[Claim Key mapping]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Features/What%20is%20a%20Claim.md#fa-right-left-how-the-key-is-matched
[Claims]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Features/What%20is%20a%20Claim.md
[Claims Overview]:{ndr}/Administration/3.%20Access%20Management/4.%20Claims/Overview.md
[Common Scenarios]:{ndr}/Administration/3.%20Access%20Management/Getting%20Started/Common%20Scenarios.md
[Entra ID Token Claims Validation]:{ndr}/Install%20and%20Update/Troubleshooting/Azure/Entra%20ID%20Token%20Claims%20Validation.md
[Install Nodinite v7 - OpenID]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/Install%20Nodinite%20v7%20-%20OpenID.md
[Log Audits]:{ndr}/Administration/6.%20Tools/2.%20Log%20Audit%20Search.md
[Mapify]:{ndr}/Mapify/Overview.md
[OpenID Field Mapping Quick Reference]:{ndr}/Install%20and%20Update/Getting%20started/Version%207/OpenID%20Field%20Mapping%20Quick%20Reference.md
[Policies]:{ndr}/Administration/3.%20Access%20Management/5.%20Policies/Features/What%20is%20a%20Policy.md
[Policies Overview]:{ndr}/Administration/3.%20Access%20Management/5.%20Policies/Overview.md
[Roles]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Features/What%20is%20a%20Role.md
[Roles Overview]:{ndr}/Administration/3.%20Access%20Management/1.%20Roles/Overview.md
[Show Deleted]:{ndr}/Administration/6.%20Tools/Show%20deleted%20records.md
[Troubleshooting - Claim used in Policies]:{ndr}/Administration/3.%20Access%20Management/Troubleshooting/Overview.md#cannot-delete-claim-used-in-policies
[Troubleshooting Guide]:{ndr}/Administration/3.%20Access%20Management/Troubleshooting/Overview.md
[Users]:{ndr}/Administration/3.%20Access%20Management/2.%20Users/Features/What%20is%20a%20User.md
[Web API]:{ndr}/Core%20Services/Web%20API/Overview.md
[Web Client]:{ndr}/Getting%20Started/Overview.md
[Windows AD Groups]:{ndr}/Administration/3.%20Access%20Management/3.%20Windows%20AD%20Groups/Features/What%20is%20a%20Windows%20AD%20Group.md