From 3132ee8f847f108e865b427f8cacefa7650ef1e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enes=20Sad=C4=B1k=20=C3=96zbek?= Date: Thu, 2 May 2019 01:09:56 +0300 Subject: [PATCH] Add AddDeveloperSigningCredential --- .gitignore | 2 ++ src/Startup.cs | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 3e759b7..4bda13b 100644 --- a/.gitignore +++ b/.gitignore @@ -12,6 +12,8 @@ # User-specific files (MonoDevelop/Xamarin Studio) *.userprefs +tempkey.rsa + # Build results [Dd]ebug/ [Dd]ebugPublic/ diff --git a/src/Startup.cs b/src/Startup.cs index c3b6b2c..9944d00 100644 --- a/src/Startup.cs +++ b/src/Startup.cs @@ -37,6 +37,7 @@ namespace SteamOpenIdConnectProxy .AddAspNetIdentity() .AddInMemoryClients(IdentityServerConfig.GetClients(Configuration["OpenID:ClientID"], Configuration["OpenID:ClientSecret"], Configuration["OpenID:RedirectUri"], Configuration["OpenID:PostLogoutRedirectUri"])) .AddInMemoryPersistedGrants() + .AddDeveloperSigningCredential(true) .AddInMemoryIdentityResources(IdentityServerConfig.GetIdentityResources()); services.AddAuthentication()