mirror of
https://github.com/bitwarden/server.git
synced 2025-01-22 21:51:22 +01:00
get rid of SetIdentityServerOrigin
This commit is contained in:
parent
613edab908
commit
1f086a1193
@ -144,17 +144,6 @@ namespace Bit.Identity
|
||||
GlobalSettings globalSettings,
|
||||
ILogger<Startup> logger)
|
||||
{
|
||||
if (globalSettings.SelfHosted)
|
||||
{
|
||||
var identityUri = new Uri(globalSettings.BaseServiceUri.Identity);
|
||||
app.Use(async (ctx, next) =>
|
||||
{
|
||||
ctx.SetIdentityServerOrigin($"{identityUri.Scheme}://{identityUri.Host}");
|
||||
ctx.SetIdentityServerBasePath(identityUri.LocalPath);
|
||||
await next();
|
||||
});
|
||||
}
|
||||
|
||||
IdentityModelEventSource.ShowPII = true;
|
||||
|
||||
app.UseSerilog(env, appLifetime, globalSettings);
|
||||
|
Loading…
Reference in New Issue
Block a user