Inspect, debug and build OAuth 2.0 / OIDC flows entirely in your browser. Decode JWT tokens (ID token, access token), generate PKCE code verifier + challenge, and construct authorization URLs with all standard parameters.
Decode JSON Web Tokens – inspect header, payload and signature details. Supports HS256/RS256/ES256 (signature not verified locally).
Generate cryptographically strong code verifier and S256 code challenge for OAuth 2.0 authorization code flow with PKCE.
S256 (recommended). Use this as code_challenge in authorization request.
Construct a complete OAuth 2.0 / OIDC authorization endpoint URL with parameters.
OAuth 2.0 is the industry-standard protocol for authorization, enabling third-party applications to obtain limited access to HTTP services. OpenID Connect (OIDC) extends OAuth 2.0 with authentication, providing ID tokens in JWT format. This debugger helps developers inspect tokens, simulate PKCE protection, and craft correct authorization requests.
Key standards: RFC 6749 (OAuth 2.0), RFC 7636 (PKCE), OpenID Connect Core 1.0, RFC 7519 (JWT).
nonce in OIDC requests – For ID tokens, a nonce parameter binds the token to the initial authentication request and prevents replay attacks.
These best practices align with the OAuth 2.0 Security Best Current Practice and the upcoming OAuth 2.1 specification.
A developer integrating with a provider kept receiving "invalid_grant" when exchanging the authorization code. Using this tool, they generated a fresh PKCE pair, inserted the code_challenge into the authorization URL, and after receiving the code, they used the same code_verifier (generated here) in the token request. The mismatch was caused by accidentally using different verifiers. This debugger helped isolate the issue by ensuring consistent generation and easy copying of both values.
Another common issue: malformed redirect URI causing "invalid_request". The Authorization URL Builder lets you quickly adjust parameters and see the exact URL sent to the provider, eliminating manual concatenation errors.
Proof Key for Code Exchange (PKCE) mitigates authorization code interception attacks, especially for public clients like single-page apps and mobile apps. The tool generates a high-entropy verifier and its SHA-256 challenge. The verifier is sent during the token exchange, ensuring that only the legitimate client can redeem the authorization code.
This toolkit is built according to IETF specifications and curated by the GetZenQuery Tech team. The PKCE generator uses Crypto.getRandomValues() for entropy and SHA-256 via Web Crypto API, aligning with NIST recommendations. JWT decoding strictly follows base64url decoding without eval, ensuring safe client-side handling. For production-level security, always rely on certified libraries (e.g., oauth2-client, Auth.js).
For further reading: OAuth 2.0 Security Best Current Practice, JWT Best Current Practices.
window.crypto.getRandomValues (CSPRNG) to generate a 64-byte random value, then base64url encodes it to create a verifier compliant with RFC 7636. Challenge is derived via SHA-256, also using Web Crypto API.
id_token or hybrid flows by customizing response type. Implicit flow is discouraged; our builder supports it but we highlight security concerns.