I would like to be able to issue a phone_number claim xor email claim depending on what is required by the client. I use Identity Server 5(Duende) but the answer will be the same for Identity Server 4.
I understand that I can add a claim to identity token in ProfileService, however how to configure the client in the db so I will be able to check what is required by a client in the profile service?