Claims and Policies - Troubleshooting Guide
Section titled “Claims and Policies - Troubleshooting Guide”Troubleshooting guide for Claims and Policies in Nodinite v7 using OIDC/OAuth 2.0 authentication.
- ✅ Common issues and solutions
- ✅ Error message explanations
- ✅ Diagnostic steps
- ✅ Best practices for prevention

Animated walkthrough: the user carries the right Claim but gets the Forbidden page. The Claim's Used In badge opens the Policy, which has no Role, so it grants nothing. Tick the Role and Save; the user's next page load lists the Role's Log Views.
How Access Is Decided
Section titled “ How Access Is Decided”The user's token carries Claims from the identity provider; Nodinite compares them with the Policies and gives the user every Role that has a matching Policy.
Blue: where the Claims come from. Green: access granted through the Roles. Red: no Role, so the Web Client shows the Forbidden page.
| Rule | What it means |
|---|---|
| AND within a Policy | The token must hold every Claim of the Policy |
| OR between Policies | A Role is granted when one of its Policies matches |
| Case and spaces don't matter | Key and Value are compared ignoring case and surrounding spaces: Department=Finance matches department=finance |
| Fail closed | A deleted Policy, and a Policy that holds a deleted Claim, grant nothing to anyone |
| No Role | Sign-in at the identity provider succeeds, but without a Role the Web Client shows the Forbidden page |
When a Change Takes Effect
Section titled “When a Change Takes Effect”- A change in Nodinite (a Claim, a Policy, a Policy's Claims or Roles, or a Role's permission sets) counts within about 15 seconds. The Web API keeps each user's Claims → Policies → Roles result for 15 seconds, so a page reload after that is enough; the user doesn't have to sign in again.
- A change in the identity provider (a value added to or removed from the user) counts from the user's next sign-in, because the Claims come from the token.
Claims Issues
Section titled “Claims Issues”Cannot Create Claim - "Key/Value Already in Use"
Section titled “Cannot Create Claim - "Key/Value Already in Use"”Error Message: This Key/Value combination is already in use on the Claims list (add or inline edit), or The Key/Value combination is already in use on the Policy editor's New tab.
Cause: The Key/Value combination is already in use, by an active Claim or by a deleted one. The check ignores case: department=Finance and department=finance are the same Claim.
Solutions
Section titled “Solutions”-
Check active Claims:
- Navigate to Administration → Claims
- Search for the Key and Value
- If found, use the existing Claim instead
-
Check deleted Claims:
- Enable the Include deleted filter
- Look for the Claim marked as deleted
- Restore it instead of creating new
-
Choose different Key or Value:
- If you need a different Claim, modify either the Key or Value
- Example: Instead of
department=finance, useteam=finance-operations
Prevention
Section titled “Prevention”- Use consistent naming conventions
- Document your Claims structure
- Check existing Claims before creating new ones
Claim Not Appearing in Policy Editor
Section titled “Claim Not Appearing in Policy Editor”Issue: Created a Claim but don't see it in the Policy editor's All tab.
Cause: The Policy editor asks the Web API for the Claims each time its All tab loads; there is no browser cache of Claims. A Claim added in another browser tab shows once you open the Policy again. Clearing the browser cache or signing out never helps.
Diagnostic Steps
Section titled “Diagnostic Steps”-
Verify the Claim was saved:
- Go to Administration → Access Management → Claims
- Search for your Claim
- Check the Created timestamp
-
Open the Policy again:
-
Check if the Claim was deleted:
- In the Policy editor, enable Include deleted on the All tab
- Look for the Claim with a Deleted badge
Solutions
Section titled “Solutions”- Restore a deleted Claim; recreate an unsaved one
- Next time, use the Policy editor's New tab: Add and Use creates and selects the Claim
Claim Can't Be Deleted - Used in Policies
Section titled “Claim Can't Be Deleted - Used in Policies”Issue: You want to delete a Claim, but Policies still use it.
Explanation: This is expected behavior New 7.12. A Claim that an active Policy uses can't be deleted. The Confirm intent to Delete dialog says You can't delete this Claim: Group = Contoso-Interim. It is used in these Policies:, lists them, and ends with Remove it from those Policies first. Its Yes button is disabled. The Web API answers 409 Conflict with the same text.
Solution: Replace Before Deleting
Section titled “Solution: Replace Before Deleting”
Animated walkthrough: the refused delete names the Policy; the Claim is replaced on it, as in the steps below.
- On Claims, check the Used In column; each badge opens its Policy
- In each Policy, take the old Claim off on the Claims card's Selected tab
- Tick the replacement Claim on the All tab (or create it on the New tab with Add and Use); a Policy needs at least one Claim and one Role to be saved, so replace the Claim rather than only removing it
- Save the Policy
- Delete the old Claim once no Policy uses it

Animated walkthrough: with Used In empty, Delete asks "Are you sure you want to Delete Claim: Group = Contoso-Interim?" and Yes deletes it ("Claim Group = Contoso-Interim is now deleted!"). A deleted Claim can be restored with Include deleted.
Prevention
Section titled “Prevention”- Check the Used In column before deleting
- Plan replacement Claims
- Tell your team before deleting
User Has Claim But No Access
Section titled “User Has Claim But No Access”Issue: User authenticates with correct Claims from identity provider but doesn't get expected access: the Web Client shows the Forbidden page.
The animation at the top of this page walks these steps.
Diagnostic Steps
Section titled “Diagnostic Steps”-
Verify the Claim exists in Nodinite:
- Go to Administration → Access Management → Claims
- Filter on the Value
- Case and surrounding spaces don't matter:
Department=Financematchesdepartment=finance
-
Check if the Claim is in a Policy:
- Check the Used In column for Policies; each badge opens its Policy
-
Verify the Policy is assigned to a Role:
- In the Policy, open the Roles card's Selected tab
- No Role means the Policy grants nothing; tick the Role on the All tab and Save
-
Verify the Policy's other Claims:
- The user must carry every Claim of the Policy (AND)
- A deleted Claim on the Policy makes it grant nothing (see Policy Shows Deleted Claims)
-
Verify the user has the correct Claim from the identity provider:
- Check the user's authentication token
- Check for typos in the Key, such as a short name where the token sends the long claim type URI
Common Causes
Section titled “Common Causes”| Problem | Solution |
|---|---|
| Claim not in Nodinite | Create the Claim in Nodinite |
| Claim not in Policy | Add Claim to appropriate Policy |
| Policy not in Role | Assign Policy to Role on the Policy's Roles tab |
| User lacks another Claim of the Policy | Split the Policy, or add the Claim to the user in the identity provider |
| User doesn't have Claim | Check identity provider configuration |
Prevention
Section titled “Prevention”- Document exact Claim values
- Test with pilot users before rollout
Policy Issues
Section titled “Policy Issues”Cannot Create Policy - "The Name Is in Use"
Section titled “Cannot Create Policy - "The Name Is in Use"”Error Message: The name is in use, under the Name field as you type. The check counts deleted Policies too. New 7.12 Save with that name doesn't save the Policy; it shows Input error(s) with Name : The name is in use.

Animated walkthrough: The name is in use shows while you type. On Policies, filter on the name and tick Include deleted: a deleted Policy has it. Restore it from the Action menu instead of creating a duplicate ("Policy Contoso: Night Shift is now restored!").
Solutions
Section titled “Solutions”- Choose a unique, descriptive name, for example "Finance Admin Policy" instead of "Finance Policy".
- Restore a deleted Policy with that name: tick Include deleted, find it, and restore it instead of creating a new one.
- Edit the existing Policy if it serves the same purpose, adding or removing Claims as needed.
Prevention
Section titled “Prevention”- Use descriptive, unique names
- Follow naming convention:
[Department] [Access Level] Policy - Document your Policy structure
Policy Shows Deleted Claims
Section titled “Policy Shows Deleted Claims”Issue: Policy displays a Claim with a yellow Deleted badge on its Selected tab. The tooltip says This Claim is deleted. The Policy grants nothing until the Claim is restored or removed from the Policy.
Explanation: It happens in one case only, because a Claim that an active Policy uses can't be deleted: the Claim was deleted while the Policy was deleted too, and the Policy was restored afterwards.
Impact
Section titled “Impact”- ❌ The Policy grants nothing to anyone (fail closed)
- Every user who relied on it loses the Policy's Roles until you fix it
Solutions
Section titled “Solutions”- Remove the deleted Claims: on the Policy's Selected tab, uncheck the Claims with the Deleted badge and Save (the Policy must keep at least one Claim)
- Replace them: remove them as above, tick replacement Claims on the All tab, and Save
- Restore them: on Claims, enable Include deleted, find the Claims and restore them; the Deleted badges disappear from the Policy
Cannot See Policy in Role
Section titled “Cannot See Policy in Role”Issue: Created a Policy but don't see it in Role editor.
Explanation: You assign a Policy to Roles from the Policy, not from the Role. The Role editor only lists the Policies already assigned.
The Role detail page shows a read-only Policies card with the Policies already assigned; Policies are added or removed on the Policy's Roles card.
Solutions
Section titled “Solutions”- Assign from the Policy: open it in Administration → Access Management → Policies, check the Roles on the Roles card, and Save; see Add or manage Policy (Step 4: Assign to Roles)
- Use the API: assign the Policy programmatically through the Web API
- Verify the Policy exists: it was saved and isn't deleted
Policy Contains No Claims
Section titled “Policy Contains No Claims”Issue: Save stays disabled on a Policy, and the editor says You must select at least one Claim and at least one Role to be able to save the Policy.
Explanation: A Policy needs at least one Claim and one Role to be saved, so an empty Policy can't exist. This is also why you replace a Claim on a Policy rather than only removing it.
Solutions
Section titled “Solutions”-
Add Claims to the Policy:
1. Go to the Claims card's "All" tab2. Check Claims to add3. Or use the "New" tab to create a Claim ("Add and Use") -
Add a Role to the Policy:
1. Go to the Roles card's "All" tab2. Check the Role the Policy should give3. Save the Policy -
Delete the Policy if it is no longer needed:
1. Delete the Policy from its Action menu2. It can be restored later with "Include deleted"
Prevention
Section titled “Prevention”- Plan the Claims and Roles before you create a Policy
- Use the New tab's Add and Use button for quick Claim creation
Policy Contains Conflicting Claims (Same Key, Two Values)
Section titled “Policy Contains Conflicting Claims (Same Key, Two Values)”Issue: Created a Policy with multiple Claims that have the same key but different values, and now users who carry only one of the values get no access.
Symptoms
Section titled “Symptoms”- Users authenticate successfully but get the Forbidden page
- The Policy appears valid but matches almost nobody
- Test users with correct departments/regions still blocked

Animated walkthrough: the Policy requires both Group = Contoso-Finance and Group = Contoso-Logistics, so contoso.finance, who carries one value, gets the Forbidden page. Keep one Claim per key on the Policy, add a second Policy for the other value with the same Role, and the user matches one of them (OR).
Example of the Problem
Section titled “Example of the Problem”Policy: "Multi-Country Access"Claims: * Country=Sweden (AND) * Country=Norway (AND)Why This Fails
Section titled “Why This Fails”-
Policies use AND logic - users must match ALL Claims
-
Most claim keys carry one value per user, such as a country or a department
-
A user with
Country=Swedendoesn't also haveCountry=Norway -
❌ Only a user whose token carries both values matches; everyone else is blocked
Diagnostic Steps
Section titled “Diagnostic Steps”-
Review Policy Claims: open the Policy, go to the Claims card's Selected tab, and look for Claims with the same Key but different Values (❌
Country=SwedenwithCountry=Norway; ✅Country=SwedenwithGroup=Admin) -
Test with User Claims:
User's actual Claims from IDP:Country: SwedenGroup: AdminPolicy requires (AND logic):Country=Sweden ✅Country=Norway ❌ ← User doesn't have thisResult: Policy NOT satisfied → no Role from this Policy
Solutions
Section titled “Solutions”Option 1: Remove Conflicting Claims (Quick Fix)
Section titled “Option 1: Remove Conflicting Claims (Quick Fix)”On the Policy's Selected tab, keep only one Claim per key (for example Country=Sweden), remove the others, and Save.
Option 2: Create Separate Policies for OR Logic (Recommended)
Section titled “Option 2: Create Separate Policies for OR Logic (Recommended)”The animation above shows this fix.
Policy "SwedenAccess": Country=Sweden → Role "Nordic Administrator"Policy "NorwayAccess": Country=Norway → Role "Nordic Administrator"Policy "DenmarkAccess": Country=Denmark → Role "Nordic Administrator"Result: users from ANY Nordic country get the Role (OR) ✅Option 3: Use a Different Claim Structure
Section titled “Option 3: Use a Different Claim Structure”Instead of: Country=Sweden (AND) Country=Norway
Consider: Region=Nordic ← Single claim
Or configure IDP to send: Country=Sweden Region=Nordic ← Both claims, use Region in PolicyPrevention
Section titled “Prevention”- Only add Claims with unique keys to a Policy
- For OR logic, create separate Policies assigned to same Role
- Review Policy logic: AND within Policy, OR between Policies
- Test Policies with actual user Claims before rollout
Further Reading
Section titled “Further Reading”See Understanding Claim Logic in Policies for detailed explanation of AND/OR logic.
Authentication and Authorization Issues
Section titled “Authentication and Authorization Issues”User Signs In but Gets the Forbidden Page
Section titled “User Signs In but Gets the Forbidden Page”Issue: User can authenticate with the identity provider, but the Web Client shows the Forbidden page: 403 - Forbidden, Access level Log Views is required (the access the page needs; You have no access to this page when none is named), the method and URL, and the buttons Log out, Go Back and Go to the Nodinite Dashboard. There is no Access Denied message.
Cause: The user's Claims match no Policy on any Role, so the user has no Role. Walk the diagnosis in User Has Claim But No Access.
Diagnostic Steps
Section titled “Diagnostic Steps”-
Verify user has required Claims:
- Check user's authentication token
- Verify Claims are being sent by identity provider
- Check Claim format matches Nodinite configuration
-
Follow the Claims to a Role: on Claims, check that the user's Claims exist, that their Used In column lists a Policy the user fully matches, and that the Policy has a Role
-
Check the Role's permission sets: the Role needs Access set to Allow for the page the user opens (Add or manage Role); the Forbidden page names the access level it needs
-
Verify the Nodinite configuration: the OpenID Discovery URL, Client ID and Scopes; review Install Nodinite v7 - OpenID
User Has Wrong Permissions
Section titled “User Has Wrong Permissions”Issue: User can log in but has incorrect access level (too much or too little).

Animated walkthrough: contoso.logistics sees a Log View meant for the order desk. The Claim's Used In badge opens the Policy, whose Roles card shows the cause, Contoso: Operations. Replace that Role with the right one and Save; the next sign-in shows only Contoso Orders: Warehouse.
Diagnostic Steps
Section titled “Diagnostic Steps”-
Check user's Claims from identity provider:
- Verify what Claims the user actually receives
- Check authentication token or user profile
-
Find matching Policies:
- Go to Administration → Access Management → Claims
- For each of user's Claims, check the Used In column
- List all Policies user matches
-
Check Role assignments:
-
Review permission sets:
- For each Role, check permission sets
- Check Log Views, Monitor Views, Repository Model, and C4 Diagram Sets
- Permissions are cumulative, but a Deny in any Role always wins
Solutions
Section titled “Solutions”| Too much access | Too little access |
|---|---|
| Remove overly broad Claims from the user (in the IDP) | Add the required Claims to the user (in the IDP) |
| Or remove the Claim from the Policy | Or create a Policy with the user's Claims |
| Or remove the Policy from the Role, and give the Policy the Role it should have (a Policy can't be saved without a Role) | Or assign the Policy to a Role |
| Or adjust the Role's permission sets | Or adjust the Role's permission sets |
Identity Provider Integration Issues
Section titled “Identity Provider Integration Issues”Claims Not Appearing from Azure AD
Section titled “Claims Not Appearing from Azure AD”Issue: User authenticates but Claims from Azure AD don't appear in Nodinite.
Diagnostic Steps
Section titled “Diagnostic Steps”- Check the OpenID configuration (Nodinite Portal → Environment → Authentication): the Discovery URL
https://login.microsoftonline.com/{tenant}/v2.0/.well-known/openid-configuration, and a Client ID that matches the Azure AD app registration - Verify the Azure AD app registration: correct scopes, granted API permissions, and a token configuration with the required claims
- Check the claim mapping: custom claims configured, group claims enabled if you use groups, and claim names that match the Nodinite configuration
- Test the authentication token: decode it with jwt.ms and check the Claim names and values
Solutions
Section titled “Solutions”- Fix the Azure AD app registration: configure app roles and claims and grant admin consent; see Install Nodinite v7 - OpenID - EntraID
- Update the Nodinite configuration: update the Claims mapping in Nodinite Portal, verify the expected Claim keys, and test with a pilot user
Prevention
Section titled “Prevention”- Follow Install Nodinite v7 - OpenID - EntraID guide exactly
- Document all custom claims
- Test with pilot users before rollout
Claims Have Wrong Values
Section titled “Claims Have Wrong Values”Issue: Claims appear but with unexpected values.
Examples
Section titled “Examples”- Expecting
role=adminbut gettinghttp://schemas.microsoft.com/ws/2008/06/identity/claims/role=admin - Expecting
department=financebut gettingdepartment=finance-operations
A difference in case alone is never the problem: Key and Value are compared ignoring case and surrounding spaces, so department=Finance matches department=finance.
Causes
Section titled “Causes”-
Claim namespace:
- Azure AD includes full namespace in claim key
- Nodinite configured with short key name
-
Claim transformation:
- Identity provider transforms claim values
- Different format than expected
Solutions
Section titled “Solutions”| Option | How | Example |
|---|---|---|
| 1. Update Nodinite Claims (easier) | Create Claims that match the actual IDP values, and use them in the Policies | department=finance-operations |
| 2. Configure IDP claim transformation | In Azure AD or your IDP, map the claims to the expected format | Transform finance-operations → finance |
| 3. Use claim mapping in Nodinite | In Nodinite Portal, map the IDP claim key to the Nodinite claim key | Map the full namespace to a short name |
Prevention
Section titled “Prevention”- Pick one casing for claim values as a naming convention (matching ignores case, so it is for readability only)
- Document exact claim format from IDP
- Test claim values before creating Policies
Performance and UI Issues
Section titled “Performance and UI Issues”Claims/Policies Page Loads Slowly
Section titled “Claims/Policies Page Loads Slowly”Issue: Claims or Policies management page takes long time to load.
Causes: a large number of Claims (1000+) or Policies, or many Policies with many Claims each.
Solutions
Section titled “Solutions”- Use the search filter to narrow the list by text
- Clean up unused items: delete the Claims and Policies nobody uses
- Optimize the browser: clear the browser cache, disable extensions, use a modern browser (Chrome, Edge, Firefox)
- Review the Claims structure: consolidate similar Claims
Browser Session Expired
Section titled “Browser Session Expired”Issue: "Session expired" error when managing Claims/Policies.
Cause: Authentication token expired during long editing session.
Solutions
Section titled “Solutions”- Refresh the page (F5 or Ctrl+R), sign in again if prompted, and resume work
- Save work frequently: save Claims and Policies before taking breaks
- Increase the session timeout: ask your administrator to increase the token lifetime in the identity provider
Best Practices for Prevention
Section titled “Best Practices for Prevention”| Phase | Practice |
|---|---|
| Design | Document the Claims you need and one naming convention (matching ignores case; casing is for readability); map business requirements to small, focused Policies |
| Implementation | Add a description to every Claim; build Policies one at a time and test each with a pilot user before the rollout |
| Maintenance | Review Claims and Policies quarterly, remove unused ones, and use Log Audits to track changes |
Windows Authentication Mode
Section titled “Windows Authentication Mode”This page covers OIDC/OAuth 2.0 only. For Windows mode, check that the account or group exists in Nodinite, that it is assigned to a Role with Access in the right permission set, and that UseActiveDirectoryGroups is true when you rely on Windows AD Groups. The troubleshooting sections in Add or manage User and Add or manage Windows AD Group cover the common errors. To compare what a user actually gets, open the User; its permission tabs show the net rights from all Roles.
Getting Help
Section titled “Getting Help”Diagnostic Information to Collect
Section titled “Diagnostic Information to Collect”When reporting issues, include:
- Environment: Nodinite version, authentication mode (OIDC/OAuth 2.0), and identity provider (Azure AD, Okta, etc.)
- Claims: the Claim Key and Value, and the user's Claims from the identity provider
- Access: what the user should get and what they actually get
- Errors: the full error text, browser console errors, and network errors (F12 → Network tab)
- Steps to reproduce, with the expected and the actual result
Support Resources
Section titled “Support Resources”- Install Nodinite v7 - OpenID - Configuration guide
- Install Nodinite v7 - OpenID - EntraID - Azure AD setup
- What is a Claim? - Claim documentation
- What is a Policy? - Policy documentation
- What is a Role? - Role documentation
Next Steps
Section titled “ Next Steps” Claims and Policies - Common Scenarios - Implementation examples
Add or manage Claim - Create Claims
Add or manage Policy - Create Policies and assign them to Roles
Add or manage Role - Set the permission sets
Related Topics
Section titled “ Related Topics” Claims - Understanding Claims
Policies - Understanding Policies
Roles - Understanding Roles
Access Management
Install Nodinite v7 - OpenID
Policies Overview
Understanding Claim Logic - AND/OR logic explained
Troubleshooting index