You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simulate custom token claims for development and testing scenarios.
Allow testing of authentication and role-based policies without a live Azure Entra ID tenant.
Provide simulator-claims under the Simulator provider for flexible role/claim injection during development.
Currently, using Simulator grants the default role authenticated, but doesn't allow injecting claims for policy testing. This enhancement introduces simulator-claims, letting developers test claims-based logic locally.
This lets developers test scenarios based on simulated roles and claims without needing Azure Entra ID.
Environment-Specific Config
To prevent accidental deployment of simulated claims to production, use environment-specific configuration files (e.g., appsettings.Development.json). This allows developers to safely use simulator-claims during development while keeping production configuration clean.
Benefits
Test role-based access and claims scenarios without external dependencies.
Ensure policies behave as expected in local environments.
Use environment-specific config files to avoid deploying simulation settings to production.
Uh oh!
There was an error while loading. Please reload this page.
What is it?
Currently, using Simulator grants the default role
authenticated
, but doesn't allow injecting claims for policy testing. This enhancement introduces simulator-claims, letting developers test claims-based logic locally.Configuration Example
This lets developers test scenarios based on simulated roles and claims without needing Azure Entra ID.
Environment-Specific Config
To prevent accidental deployment of simulated claims to production, use environment-specific configuration files (e.g.,
appsettings.Development.json
). This allows developers to safely use simulator-claims during development while keeping production configuration clean.Benefits
Related Issues to Close
Simulator
-> Customize token claims in config #842The text was updated successfully, but these errors were encountered: