Identityserver4: Where is AddConfigurationStore and AddOperationalStore in IdentityServer4 v2.3.2

Created on 10 Feb 2019  路  2Comments  路  Source: IdentityServer/IdentityServer4

So I create a project based on quickstart of identityserver.io, and I did everything according to tutorial. But I don't have

AddConfigurationStore

AddOperationalStore

on

services.AddIdentityServer

Can anybody help me ?

It is worth mentioning that they are available in IdentityServer4 v2.2.0 and in IdentityServer release page, I don't see any thing about this change.

This is my configuration code :

var builder = services.AddIdentityServer(options =>
        {
            options.Events.RaiseErrorEvents = true;
            options.Events.RaiseInformationEvents = true;
            options.Events.RaiseFailureEvents = true;
            options.Events.RaiseSuccessEvents = true;
        })
            .AddInMemoryIdentityResources(Config.GetIdentityResources())
            .AddInMemoryApiResources(Config.GetApis())
            .AddInMemoryClients(Config.GetClients())
            .AddAspNetIdentity<ApplicationUser>();

Most helpful comment

AddConfigurationStore and AddOperationalStore are extensions in the Microsoft.Extensions.DependencyInjection namespace, but located in the IdentityServer4.EntityFramework assembly.

You'll have to add the IdentityServer4.EntityFramework NuGet package to your project.

All 2 comments

AddConfigurationStore and AddOperationalStore are extensions in the Microsoft.Extensions.DependencyInjection namespace, but located in the IdentityServer4.EntityFramework assembly.

You'll have to add the IdentityServer4.EntityFramework NuGet package to your project.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

user1336 picture user1336  路  3Comments

cixonline picture cixonline  路  3Comments

osmankibar picture osmankibar  路  3Comments

garymacpherson picture garymacpherson  路  3Comments

wangkanai picture wangkanai  路  3Comments