Verisk App 2
About the Application
This ASPNET Core application is intended to demonstrate how to provide secure user access to pages and elements within pages through role-based access control (RBAC) provided by Auth0. This ensures that users have access only to the resources and functionality that they are authorized to have.
Role-Based Access Control
Role-based access control is a method of regulating access to resources based on the roles of individual users within an organization. This application supports multiple roles, including:
- app2-admin:Full access to all resources and functionality
- app2-claims-handler:Can view and create claims documents
- app2-legal-auditor:Can view legal documents
- app2-legal-handler:Can view and create legal documents
By assigning roles to users, we ensure that sensitive information is protected and that users can only perform actions that are appropriate for their role.
Features
This application demonstrates the following features:
- Access token retrieval for individual APIs.
- Permission controlled access to APIs
- Role-based page access control through policies
- Page functionality hidden or shown based on roles
- Authenticated and authorized client-side (JavaScript) API invocations
Configuration
The following configuration has been set for this application:
- Domain: auth-lab-dev.us.verisk.com
- Client ID:
pCqBhN2QqXE7WjpaNBOIqv4lRaIaYHfF - Claims Documents API
- Audience: https://claims-api.ciamdemoapps-dev.us.verisk.com
- Base URL: https://claims-api.ciamdemoapps-dev.us.verisk.com
- Legal Documents API
- Audience: https://legal-api.ciamdemoapps-dev.us.verisk.com
- Base URL: https://legal-api.ciamdemoapps-dev.us.verisk.com