Add AddDeveloperSigningCredential

This commit is contained in:
Enes Sadık Özbek 2019-05-02 01:09:56 +03:00
parent 8a27fb262c
commit 3132ee8f84
2 changed files with 3 additions and 0 deletions

2
.gitignore vendored
View file

@ -12,6 +12,8 @@
# User-specific files (MonoDevelop/Xamarin Studio)
*.userprefs
tempkey.rsa
# Build results
[Dd]ebug/
[Dd]ebugPublic/

View file

@ -37,6 +37,7 @@ namespace SteamOpenIdConnectProxy
.AddAspNetIdentity<IdentityUser>()
.AddInMemoryClients(IdentityServerConfig.GetClients(Configuration["OpenID:ClientID"], Configuration["OpenID:ClientSecret"], Configuration["OpenID:RedirectUri"], Configuration["OpenID:PostLogoutRedirectUri"]))
.AddInMemoryPersistedGrants()
.AddDeveloperSigningCredential(true)
.AddInMemoryIdentityResources(IdentityServerConfig.GetIdentityResources());
services.AddAuthentication()