JudahGabriel / RavenDB.Identity

RavenDB Identity provider for ASP.NET Core. Let RavenDB manage your users and logins.
https://www.nuget.org/packages/RavenDB.Identity/1.0.0
MIT License
61 stars 29 forks source link

8.0.9 of RavenDB.Identity SignInManager #54

Closed allschu closed 7 months ago

allschu commented 7 months ago

Hi, currently I am working with a RavenDB store. I found this nice plugin, but I got a little stuck. Unfortunately, my client is not yet working with .Net 8, so I am stuck at .Net 6 for now. That means that I am using nog the latest version, but version 8.0.9 of RavenDB.Identity.

I have the following configurations

   services
                .AddRavenDbDocStore() // Create our IDocumentStore singleton using the database settings in appsettings.json
                .AddRavenDbAsyncSession() // Create an Raven IAsyncDocumentSession for every request.
                .AddIdentityCore<MyUser>()
                .AddRoles<IdentityRole>()
                .AddRavenDbIdentityStores<MyUser, IdentityRole>(); // Use Raven as the Identity store for user users and roles.

Now my problem is that my signInManager is missing because that's was added in a different package.

I tried using .AddSignInManager<SignInManager>() but that gave me all kinds of dependency injection errors since I needed to add Microsoft.AspNetCore.Identity

Any idea what am I not seeing?