PKCE Generator
Generate code_verifier and code_challenge for OAuth 2.0 PKCE flows
S256 (Recommended)
SHA-256 hash of the code_verifier. More secure and recommended for all clients.
Plain
Code challenge equals code verifier. Only use if S256 is not supported.
Length: 0 characters. Store this securely - you'll need it for the token request.
Method: S256. Include this in your authorization request.
How PKCE Works
Create a cryptographically random string (43-128 characters)
For S256: BASE64URL(SHA256(code_verifier)). For plain: code_challenge = code_verifier
Include code_challenge and code_challenge_method in the authorization URL
Include the original code_verifier when exchanging the authorization code for tokens
The authorization server verifies that SHA256(code_verifier) matches the original code_challenge