Skip to content

Commit 030ee92

Browse files
authored
Merge pull request #54 from DuendeSoftware/ev/hybridcache
add hybrid cache to demo
2 parents b7a1736 + cf9cfbb commit 030ee92

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/HostingExtensions.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
3434
// cookie policy to deal with temporary browser incompatibilities
3535
builder.Services.AddSameSiteCookiePolicy();
3636

37+
builder.Services.AddKeyedHybridCache("ProofTokenReplayHybridCache");
38+
3739
builder.Services.AddIdentityServer(options =>
3840
{
3941
options.Events.RaiseErrorEvents = true;
@@ -69,7 +71,7 @@ public static WebApplication ConfigureServices(this WebApplicationBuilder builde
6971
.AddLocalApi()
7072
.AddJwtBearer("dpop", options =>
7173
{
72-
// options.Authority = "https://localhost:5001";
74+
//options.Authority = "https://localhost:5001";
7375
options.Authority = "https://demo.duendesoftware.com";
7476

7577
options.TokenValidationParameters.ValidateAudience = false;

0 commit comments

Comments
 (0)