
WayneW.69684 (Customer) asked a question.
Does OIW Custom App Provisioning OAuth support PKCE?
Hi Team,
I created a custom application using OIW and enabled Provisioning with OAuth 2.0 Authorization Code flow.
When clicking "Authenticate" for API Integration, Salesforce China (sfcrmproducts.cn) returns:
error=invalid_request
error_description=missing required code challenge
Salesforce now requires PKCE and it cannot be disabled.
My questions:
1. Does OIW custom app provisioning OAuth support PKCE?
2. If yes, where can PKCE be configured?
3. If not, is there any roadmap or EA/Beta support planned?
Note:
This is a custom OIW-created application, not the standard Salesforce.com OIN connector.
Thanks.

Hello @WayneW.69684 (Customer) Thank you for posting on our Community page!
You are asking whether the OAuth 2.0 Authorization Code provisioning flow for your custom OIW application supports Proof Key for Code Exchange (PKCE), where PKCE is configured, and whether a roadmap or Early Access (EA) or Beta option exists, because Salesforce China (sfcrmproducts.cn) now rejects the Authenticate request with "missing required code challenge."
Okta supports PKCE for Salesforce API provisioning through a "PKCE Enabled" setting on the application's Provisioning tab, and that setting resolves the error once the Salesforce connected app also requires PKCE.
Yes. Okta supports PKCE for Salesforce provisioning through the "PKCE Enabled" setting. Okta Support can confirm that this setting is available for your specific custom OIW application.
Configure PKCE in both Salesforce and Okta:
If the PKCE Enabled checkbox does not appear for your custom OIW application, contact Okta Support so the team can confirm eligibility and the supported configuration path for that application.
Thank you for reaching out to our Community and have a great day!
--
Help others in the community by liking or hitting Select as Best if this response helped you.