We are working on authenticating a C# MVC Web API, following the "Daemon or Server Application to Web API" model and we would like to add some custom claims to the token issued by Azure Active Directory to be validated in the Web API side.
Our initial thought is to 'add' these optional claims to the Daemon application by editing the manifest, but we could not find a good exemple and we get errors when saving it.
Is there anyone that could provide us a good example of how to add this custom claims?
Or even better, Is there any other idea about how to add these custom claims?