Property RequirePkce

Assembly: redb.Identity.Core.dll

Require Proof Key for Code Exchange (PKCE) on EVERY authorization_code request.
When true (default), an /connect/authorize request without a code_challenge
is rejected — the OAuth 2.1 hardening posture. Set to false to also accept plain
authorization_code flows without PKCE (e.g. legacy clients, or to certify the OpenID
"Basic OP" profile, whose non-PKCE tests require the OP to accept such requests).
PKCE, when present, is ALWAYS S256-only (RFC 7636 §4.2 — plain is never accepted),
regardless of this flag.
Default: true.

public bool RequirePkce { get; set; }