The default implementation keeps verifiers in-process memory, which is
fine for single-instance Node.js deployments but will break on
serverless/multi-instance setups (Vercel, edge, etc.) due to cold-starts
and instance hopping.
Supply a custom store via SCAuthManagerConfig.pkceStore to use an
external store (Redis, signed cookies, etc.) that survives across instances.
Pluggable storage backend for PKCE verifiers.
The default implementation keeps verifiers in-process memory, which is fine for single-instance Node.js deployments but will break on serverless/multi-instance setups (Vercel, edge, etc.) due to cold-starts and instance hopping.
Supply a custom store via SCAuthManagerConfig.pkceStore to use an external store (Redis, signed cookies, etc.) that survives across instances.
Example