I am writing my custom IdentityService that uses Identity Server 4 & Asp.Net Core Identity for users & passwords validation. But I have 2 versions of apps to support: mobile and web. In terms of authorization, customers want to allow usage of PIN in mobile app only and to use passwords in the web app. The problem is that one specific role might have access to mobile with the PIN but might not be initialized with the password. As I understand I need to make PIN validation in the same manner as password validation.
I would like to use Asp.Net Core Identity but haven't found any proper samples of how to do what is necessary for me.
Will be glad for any help.