This repo contains the application role management interface to be used primarily by App Support, to manage user's role permissions. It's a replacement for the functionality that was built into NICE Accounts.
Table of contents
Overview
- This application provides App Support with the ability to assign users with roles for websites.
- The visual studio project in the repo is "NICE.Identity.Management". The UI is a react app, hosted in a child folder "ClientApp" The NICE.Identity.Management project is responsible for proxying the requests of the UI to the API, adding authentication on the way. Also, it provides endpoints for Login and Logout.
- .NET Core 2.2 parent application
- Proxy Kit - this proxy sends requests from the front-end to the api, adding authentication on the way.
- React front-end
Install Node.js
change directory to the client app: cd NICE.Identity.Management/ClientApp
npm install npm start
Change the dropdown next to the green play button to "NICE.Identity.Dev", you might also need to disable IIS Express.
There are other readme.md files dotted about this repo, most importantly, you will need to follow the readme file in NICE.Identity.Management/ClientApp
The application's uses appsettings.json to store configuration. However, since this is a public repository, confidential configuration information is stored in secrets.json In order to run the application correctly (with it having access to a database), you'll need to acquire (from another dev) or create a secrets.json file with the correct configuration information in. For more information see: https://docs.microsoft.com/en-us/aspnet/core/security/app-secrets?tabs=visual-studio
If you are creating from scratch, the key sections are:
- WebAppConfiguration (To enable the application to talk to Auth0 and the Identity WebAPI)