Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is AddConfigurationStore and AddOperationalStore in IdentityServer4 v2.3.2

Tags:

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>();