Class IdentityWebOptions
Strong-typed OIDC + API config bound from Identity section.
public sealed class IdentityWebOptions
Inheritance
Properties
AcceptAnyBackchannelCert
DEV ONLY. Accept ANY server certificate on the BFF's backchannel HTTP calls to the
public bool AcceptAnyBackchannelCert { get; set; }
Authority
OIDC issuer expected in id_token (must match discovery doc issuer).
public string Authority { get; set; }
BackchannelClient
W6-0 — dedicated client_credentials service account used to publish
public BackchannelClientOptions BackchannelClient { get; set; }
ClientId
public string ClientId { get; set; }
ClientSecret
public string ClientSecret { get; set; }
DataProtectionKeysPath
Directory of the BFF's DataProtection key ring (the keys behind its auth cookie and antiforgery
public string? DataProtectionKeysPath { get; set; }
LogsPath
Directory of the rolling file log (identity-web-YYYYMMDD.log). Relative paths resolve
public string LogsPath { get; set; }
MetadataAddress
Optional override for discovery URL when issuer URL is not directly reachable
public string? MetadataAddress { get; set; }
RequireHttpsMetadata
Disable HTTPS metadata requirement (dev only — when discovery URL is plain http).
public bool RequireHttpsMetadata { get; set; }
RevokedSids
W6-0 — polling client config for the revoked-sids cache.
public RevokedSidsClientOptions RevokedSids { get; set; }
Scopes
public string[] Scopes { get; set; }