Browse Source

Update EventHubIdentityServerModule.cs

pull/41/head
Berkan Sasmaz 5 years ago
parent
commit
00002d0621
  1. 14
      src/EventHub.IdentityServer/EventHubIdentityServerModule.cs

14
src/EventHub.IdentityServer/EventHubIdentityServerModule.cs

@ -9,13 +9,16 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using EventHub.EntityFrameworkCore;
using EventHub.Localization;
using EventHub.Web;
using EventHub.Web.Theme;
using EventHub.Web.Theme.Bundling;
using IdentityServer4.Configuration;
using StackExchange.Redis;
using Volo.Abp;
using Volo.Abp.Account;
using Volo.Abp.Account.Web;
using Volo.Abp.AspNetCore.Mvc.UI.Bundling;
using Volo.Abp.AspNetCore.Mvc.UI.Components.LayoutHook;
using Volo.Abp.AspNetCore.Mvc.UI.Theme.Shared;
using Volo.Abp.AspNetCore.Serilog;
using Volo.Abp.Auditing;
@ -76,6 +79,17 @@ namespace EventHub
options.ApplicationName = "AuthServer";
});
Configure<AppUrlOptions>(options =>
{
options.Applications["MVC"].RootUrl = EventHubExternalUrls.EhAccount;
});
Configure<IdentityServerOptions>(options =>
{
options.IssuerUri = EventHubExternalUrls.EhAccount;
});
if (hostingEnvironment.IsDevelopment())
{
Configure<AbpVirtualFileSystemOptions>(options =>

Loading…
Cancel
Save