Class SeedWebClientOptions

Assembly: redb.Identity.Core.dll

Options for the default OIDC-client seeder that ensures the canonical
identity-web client exists in the OpenIddict application store on a
fresh install. Idempotent: skips when a client with the same
already exists. Defaults are wired for the bundled
redb.Identity.Web BFF.

public sealed class SeedWebClientOptions

Inheritance

Object→SeedWebClientOptions

Properties

ClientId

OIDC client identifier; default identity-web (matches Web BFF appsettings).

public string ClientId { get; set; }

ClientSecret

Optional client secret. When empty the client is registered as a Public

public string ClientSecret { get; set; }

DisplayName

Display name shown on the consent page; default "Identity Web Console".

public string DisplayName { get; set; }

Enabled

Master switch; default true. Set to false to disable seeding entirely.

public bool Enabled { get; set; }

PostLogoutRedirectUris

Allowed post-logout redirect URIs. Default points at

public List<string> PostLogoutRedirectUris { get; set; }

RedirectUris

Allowed redirect URIs (post-authorization callback). Default points at

public List<string> RedirectUris { get; set; }

Scopes

Allowed scopes the client may request. Default mirrors the Web BFF

public List<string> Scopes { get; set; }