I have requirement to create custom credential provide on Windows 10 IoT. This credential provider should be enabled only for 2 specific windows users and for rest of the user it should be windows default cred provider. I have also requirement where both users should be displayed on login screen when user reboots the machine.
As a first approach, I have tried solution with single credential provider and with single tile (by implementing ICredentialProviderCredential2). I have tried binding both windows users (using user SID) with single view/tile but didn't work. It was showing custom tile only for one user. I have referred https://github.com/phaetto/windows-credentials-provider on github to create this PoC.
Second approach I tried by having two pair of credential provider and its corresponding view. One pair represents one user. This approach worked. I am able to see both users on windows login screen but on selection of second user, it does not show custom credential tile as default, instead it shows default login screen. User need to select signing option to see custom credential tile.
I am not sure how to load custom credential provider tile always for given users. Can anyone help here?