In a DevHub Developer Edition i would like to disable
"
Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows"I see the option under App Manager ->
SalesforceDX Namespace Registry .
I need a help to disable it as I am unable to link the namespace registry as i am getting error as invalid_request: missing required code challenge.
That error (missing required code challenge) means the SalesforceDX Namespace Registry connected app has PKCE enforced while the namespace-link flow is not sending a code challenge. Disable it on that specific connected app:
Setup, App Manager, find SalesforceDX Namespace Registry, open the row dropdown, choose Edit (not Manage), go to the API (Enable OAuth Settings) section, and uncheck Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows, then Save.
The gotcha: that checkbox is on the Edit page, not under Manage then Edit Policies, which is where most people look. Give it a couple of minutes to propagate, then retry the namespace link.
Since PKCE is a security feature, only disable it for this app because the link needs it, and consider re-enabling once the namespace is linked.
if this helps, please mark it as the Best Answer so it helps the next person — thanks 🙂