brave-memory-91176
01/15/2025, 7:11 PMpkce: force
the allowed callback URL is different than the “normal” one, essentially omitting the “provider” value or the organization ID in case of B2B SSO.
Can you explain why is that?
We are using the B2B SSO feature. Are there any possible drawbacks of NOT forcing PKCE.
In other words, would you recommend forcing PKCE? What happens if an Identity Provider doesn’t support that and how likely is that?
Thankssteep-lamp-91158
In most cases, you don't have to do anything to enable PKCE. If the social sign-in provider advertises support for PKCE, Ory Identities will automatically configure itself to use it.
There may be OIDC providers which support PKCE but don't advertise it.As this is a per-provider configuration, you should not need to force this in general. We recommend to only force PKCE for providers where auto-discovery doesn't pick it up automatically.
brave-memory-91176
01/16/2025, 12:53 PM/self-service/methods/oidc/organization/$ORGANIZATION_ID/callback/$PROVIDER_ID
vs
/self-service/methods/oidc/callback
It’s not clear how this is bound to the PKCE flag.
Thanksrefined-kangaroo-48640
01/17/2025, 11:53 AMpkce: force
, use /self-service/methods/oidc/callback
Otherwise, use /self-service/methods/oidc/organization/$ORGANIZATION_ID/callback/$PROVIDER_ID
refined-kangaroo-48640
01/17/2025, 12:00 PMrefined-kangaroo-48640
01/17/2025, 12:06 PMpkce: force
.brave-memory-91176
01/17/2025, 2:11 PMrefined-kangaroo-48640
01/17/2025, 2:13 PM