I got ThinkTecture's IdentityManager running, but now when going to the '/idm/ url I get an error:
An error occurred when trying to create a controller of type 'MetaController'. Make sure that the controller has a parameterless public constructor.
The error was mentioned in a comment in another StackOverflow issue but a solution to this issue was not given.
While formulating this question I also found the solution in
an issue of the IdentityManager GitHub repo
. I had to change the constructor forApplicationUserManager
inIdentityConfig.cs
from:to:
And a similar type change in the
Create
function just below that to get everything compiling.The
ApplicationUserStore
should be defined as follows.I put it in
Startup.cs
just above the declaration ofApplicationRoleStore
.I had the same problem, but instead of modifying constructors, I fixed it by tweaking the DI registration