我有一个基于Identityserver4的基本实现。identityserver with in-memory stores, keys, clients and scopes }
我希望扩展IdentityServer4工作流,以便在生成访问令牌之后,我可以运行业务逻辑(基于访问令牌中的声明)并修改对
ConfigurationDbContext在生成令牌之前被释放。当使用IdentityServerTools时。通过手动添加ConfigurationDbContext和依赖配置存储区的配置,我尝试了这一点//I've also triedbuilder.UseSqlServer(connectionString,
s => s.MigrationsAss
我们使用IdentityServer4("")和EntityFrameworkCore来存储操作和配置数据。要添加签名凭据,我们使用的是x509自签名证书。并将此证书作为嵌入式源添加到解决方案中。<CreateSecurityTokenAsync>d__9.MoveNext() in C:\local\identity\server4\IdentityServer4\src\IdentityServer4<CreateAccessT