add configuration for public origin

This commit is contained in:
Enes Sadık Özbek 2020-07-12 14:50:08 +03:00 committed by GitHub
parent 842650755c
commit c319057be7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -39,6 +39,7 @@ namespace SteamOpenIdConnectProvider
services.AddIdentityServer(options =>
{
options.UserInteraction.LoginUrl = "/ExternalLogin";
options.PublicOrigin = Configuration["OpenID:PublicOrigin"];
})
.AddAspNetIdentity<IdentityUser>()
.AddInMemoryClients(IdentityServerConfig.GetClients(