|
|
@ -71,6 +71,7 @@ using Microsoft.AspNetCore.Authentication.Cookies; |
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
using Microsoft.AspNetCore.Authentication.JwtBearer; |
|
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
using Microsoft.AspNetCore.Authentication.OpenIdConnect; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
using Microsoft.AspNetCore.Authorization; |
|
|
|
|
|
|
|
using Microsoft.AspNetCore.DataProtection; |
|
|
|
using Microsoft.AspNetCore.HttpOverrides; |
|
|
|
using Microsoft.AspNetCore.HttpOverrides; |
|
|
|
using Microsoft.AspNetCore.StaticFiles; |
|
|
|
using Microsoft.AspNetCore.StaticFiles; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
|
using Microsoft.EntityFrameworkCore; |
|
|
@ -132,6 +133,8 @@ public class Startup |
|
|
|
configuration.ReleaseStage = bugsnagConfig.Enable ? "public" : "private"; |
|
|
|
configuration.ReleaseStage = bugsnagConfig.Enable ? "public" : "private"; |
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
services.AddDataProtection().PersistKeysToFileSystem(new DirectoryInfo(FileSystemLayout.DataProtectionFolder)); |
|
|
|
|
|
|
|
|
|
|
|
OidcHelper.Init(Configuration); |
|
|
|
OidcHelper.Init(Configuration); |
|
|
|
JwtHelper.Init(Configuration); |
|
|
|
JwtHelper.Init(Configuration); |
|
|
|