waqaskhan540 / identityserver-token-exchange

A solution for exchanging external (Facebook,Google,Twitter etc) tokens with IdentityServer access token.
GNU General Public License v3.0
15 stars 20 forks source link

How to use DB instead of memory for adding users? #10

Open senzacionale opened 5 years ago

senzacionale commented 5 years ago

Is it possible to use DB instead of memory for adding users? I am currently already using DB for IdentityServer but I would like to extend it with your library for external provider and use same DB to add users. But currenty users with your library are added only in memory.

MortenL commented 3 years ago

Creating your own implementation of the IExternalUserStore interface doesn't take long. You'll need to add at least two columns to your user table (ExternalId and provider).