You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 20, 2018. It is now read-only.
I'm facing issues with using default configuration of identity using entity framework core. There are restrictions on databases like max key length on mysql. So handling complex keys requires tricks and a lot overwritten code. I decided to not use complex key as primary key (also simpler change tracking later if required). But because internal code is using FindAsync method now I need to overwrite more methods in userstore just to handle single find.
My idea is use SingleOrDefaultAsync or at least make find method when complex key is used overridable. E.g. FindToken is private. Making it overridable simplifies code. At this moment I need to copy FindToken, SetTokenAsync and RemoveTokenAsync to my own code.