Skip to main content

#Generation Managed Package2 人正在讨论

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.

 

#Salesforce Admin  #Generation Managed Package

1 个回答
  1. 8月27日 16:07

    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 🙂

0/9000

Hi,

 

I'm playing around with second generation packaging and I have a few questions.

 

Do you know if migrating between package types will be possible?

e.g. 

1GP (1st Generation Managed Package) -> 2GP 

or 1GP -> Developer Controlled Package

or 1GP -> 2GP -> Developer Controlled Package

 

Once 2GP is GA will sending the customer a 2GP url be enough to upgrade their package from a 1GP managed package?

 

Is there a rough timeline for when migration will be available or is it due to come once 2GP is GA?

 

Will the ancestor id from the 1GP managed package need to be used somewhere when building the first upgradable 2GP managed released package?

 

Is there a pilot program for the package bundling that has been mentioned in one of the recorded sessions?

 

Many Thanks

Nelson

2 条评论
0/9000