I need some help in fixing a dotnet react project. The scope of work is as follows:
1) create a new react project with individual authorization: dotnet new react ..... --auth Individual
2) Manually add 2 users, one with an "Admin" Role and one with "Office" role.
3) Update the project to ensure that the scopes are being sent in the JWT token
I can do 1 and 2, but I cannot work out how to do 3. It works fine in an MVC project as it is not claims based, but my code will not work for the react project template.
This is a very quick job if you have done it before. If you have no experience of this, do not Bid.
Ensure to put "I understand the react dot net template and can add roles to the claim" in your bid or I will ignore.