#4125·kratos

Augment PKCE autodiscovery

Author: alnrCreated Sep 25, 2024Updated Sep 27, 2026
Labelsfeatstale

Preflight checklist

Ory Network Project

No response

Describe your problem

Some providers (Microsoft, Salesforce, maybe more) don't advertise PKCE but do support it.

Describe your ideal solution

We should earmark those providers as supporting PKCE, and when config option pkce==auto in the Kratos OIDC provider configuration, skip autodiscovery and perform PKCE.

The Salesforce docs need updating to reflect Kratos now supports PKCE.

Workarounds or alternatives

Don't have automatic PKCE for some providers and let users configure pkce==force if they want it.

Version

1.2

Additional Context

No response