@ -33,6 +33,8 @@ namespace Squidex.Areas.IdentityServer.Config
{
var options = services.GetRequiredService<IOptions<MyIdentityOptions>>().Value;
IdentityModelEventSource.ShowPII = options.ShowPII;
var userManager = services.GetRequiredService<UserManager<IdentityUser>>();
var userFactory = services.GetRequiredService<IUserFactory>();
@ -57,6 +57,8 @@ namespace Squidex.Config
public bool NoConsent { get; set; }
public bool ShowPII { get; set; }
public bool IsAdminConfigured()
return !string.IsNullOrWhiteSpace(AdminEmail) && !string.IsNullOrWhiteSpace(AdminPassword);
@ -404,6 +404,10 @@
},
"identity": {
/*
* Set to true to show PII (Personally Identifiable Information) in the logs.
*/
"showPII",
* Enable password auth. Set this to false if you want to disable local login, leaving only 3rd party login options.