Authorization Code with PKCE via connection

Problem Statement

We want to use the Authorization Code with PKCE flow with an external (upstream) IdP. We are trying to use an Enterprise OIDC connection or Custom OAuth2 connection, but Auth0 is not using the PKCE flow.

Solution

You can create a custom OAuth2 connection, and use the Management API, patch into the options object:

"pkce_enabled": true

1 Like