Class BackchannelOidcOptions

Assembly: redb.Identity.Web.dll

Options for the BFF-side backchannel OIDC client. The browser interacts only with
the BFF; the BFF talks server-to-server with the Identity host to perform the
authorization-code + PKCE handshake on behalf of the user.

public sealed class BackchannelOidcOptions

Inheritance

Object→BackchannelOidcOptions

Properties

AcceptAnyServerCert

DEV ONLY. Accept ANY server certificate on the session HttpClients this class

public bool AcceptAnyServerCert { get; set; }

Authority

Base URL of the Identity host (e.g. http://127.0.0.1:8080).

public string Authority { get; set; }

ClientId

Public client_id registered on the host (PKCE-only, no secret).

public string ClientId { get; set; }

ClientSecret

Optional client secret (only set when the host treats the client as confidential).

public string? ClientSecret { get; set; }

FlowTtl

How long the BFF keeps the in-flight PKCE state cached.

public TimeSpan FlowTtl { get; set; }

RedirectUri

Public callback URL the host redirects to with ?code=....

public string RedirectUri { get; set; }

Scopes

Scopes requested in the authorization request.

public string[] Scopes { get; set; }