Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 4737

Custom User Service for Thinktecture Identity Server V3

$
0
0

I am trying to create a custom user service to authenticate a user against multiple user stores. As per my understanding I have to create a new service implementing interface IUserService.

In my login page users will enter username , password and they will select a organization name which is displayed as a dropdown. This organization name will decide which user store to use. Now, should I write different UserServices for each organization or is there way that I can do with one something like passing an extra parameter to AuthenticateLocalAsync(string username, string password, SignInMessage message)?

If I develop three services how to register them to work based on the organization selected?


Viewing all articles
Browse latest Browse all 4737

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>