What does the token endpoint do with a request parameter it does not recognize?
Unrecognized token request parameters ignoredRFC 6749 §3.2MUSTRoles: authorization_server
Requirement as recorded in the ProtocolSoup registry
The authorization server MUST ignore unrecognized request parameters.
Read §3.2 in RFC 6749Self-test verdict
PassCommit 00bac3fEvaluated
This is ProtocolSoup's result against its own implementation at the commit shown. It is not a certification of ProtocolSoup or of any other product.
Captured from production
Captured Commit 00bac3f
Captured from the deployed ProtocolSoup at the commit shown. Every request and response is shown exactly as sent and received.
Passing exchange
Accepted, as requiredConformance client
The conformance client redeems public-app's authorization code with two parameters in the token request that RFC 6749 does not define for this grant, one of them twice. The token endpoint ignores them. The sign-in between the two requests is not recorded.
Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.
1.GET https://protocolsoup.com/oauth2/authorize?client_id=public-app&redirect_uri=https%3A%2F%2Fprotocolsoup.com%2Fcallback&response_type=code&scope=profile&state=YMWJW_bbWXnzSpzGPFR-tw200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oauth2/authorize?client_id=public-app&redirect_uri=https%3A%2F%2Fprotocolsoup.com%2Fcallback&response_type=code&scope=profile&state=YMWJW_bbWXnzSpzGPFR-tw HTTP/2.0 Accept: text/html Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba4cc5a453cdb-MSP Content-Type: text/html Date: Sun, 06 Dec 2026 13:30:11 GMT Fly-Request-Id: 01M95RREY5QE6QA46WYFZ1P8WA-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=46dIC2znJ47h%2FK%2BtLU%2FAOVOqrev4MV1UiEVnMtmMBS1OCAUOkD8G1So%2FxCJ9LAAb4%2F0yK35Q3e7O1vPWIgCqs9lOuvKVOnQRHQ3ZRoCqaD%2B82jk%2FhrZ3kcTxRKr9SzWyw8Y%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=200 Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>Login - Protocol Showcase</title> <style> * { box-sizing: border-box; margin: 0; padding: 0; } body { font-family: 'Segoe UI', system-ui, sans-serif; background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); min-height: 100vh; display: flex; align-items: center; justify-content: center; color: #e4e4e7; padding: 16px; } .container { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 28px; width: 100%; max-width: 420px; box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); } @media (min-width: 480px) { body { padding: 0; } .container { padding: 40px; } } .logo { text-align: center; margin-bottom: 30px; } .logo h1 { font-size: 24px; font-weight: 600; color: #fff; } .logo p { color: #a1a1aa; font-size: 14px; margin-top: 8px; } .client-info { background: rgba(99, 102, 241, 0.1); border: 1px solid rgba(99, 102, 241, 0.2); border-radius: 8px; padding: 16px; margin-bottom: 24px; text-align: center; } .client-info span { color: #a5b4fc; font-size: 14px; } .client-info strong { color: #fff; } .form-group { margin-bottom: 20px; } label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: #d4d4d8; } input[type="email"], input[type="password"], input[type="text"] { width: 100%; padding: 12px 16px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 8px; background: rgba(0, 0, 0, 0.2); color: #fff; font-size: 16px; transition: all 0.2s; } input:focus { outline: none; border-color: #6366f1; box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); } button { width: 100%; padding: 14px; background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); border: none; border-radius: 8px; color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; transition: transform 0.2s, box-shadow 0.2s; } button:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5); } .error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); color: #fca5a5; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; } .demo-users { margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, 0.1); } .demo-users h3 { font-size: 14px; color: #a1a1aa; margin-bottom: 12px; } .demo-user { background: rgba(0, 0, 0, 0.2); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 8px; padding: 12px; margin-bottom: 8px; cursor: pointer; transition: all 0.2s; } .demo-user:hover { background: rgba(99, 102, 241, 0.1); border-color: rgba(99, 102, 241, 0.2); } .demo-user .name { font-weight: 500; color: #fff; } .demo-user .email { font-size: 12px; color: #71717a; } .scopes { margin-top: 16px; font-size: 12px; color: #71717a; } .scopes span { display: inline-block; background: rgba(99, 102, 241, 0.1); padding: 4px 8px; border-radius: 4px; margin: 2px; } </style> </head> <body> <div class="container"> <div class="logo"> <h1>Protocol Showcase</h1> <p>OAuth 2.0 Authorization</p> </div> <div class="client-info"> <span>Signing in to <strong>Public Application (SPA)</strong></span> </div> <!-- ERROR --> <form method="POST" action="/oauth2/authorize"> <input type="hidden" name="login_request_id" value="0vO6PxgRiloAcAHrd-o53A"> <div class="form-group"> <label for="email">Email</label> <input type="email" id="email" name="email" placeholder="[email protected]" required> </div> <div class="form-group"> <label for="password">Password</label> <input type="password" id="password" name="password" placeholder="password" required> </div> <button type="submit">Sign In</button> </form> <div class="demo-users"><h3>Demo Users (click to autofill)</h3><div class="demo-user" data-email="[email protected]" data-password="4bbw3nqtTsR9az7s2albdeeu" onclick="fillCredentials(this.dataset.email || '', this.dataset.password || '')"><div class="name">Alice (Standard User)</div><div class="email"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="197875707a7c597c61787469757c377a7674">[email protected]</a></div></div><div class="demo-user" data-email="[email protected]" data-password="6PdvnYFdfrvoyxTXbzmHF9c1" onclick="fillCredentials(this.dataset.email || '', this.dataset.password || '')"><div class="name">Bob (Standard User)</div><div class="email"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="25474a4765405d44485549400b464a48">[email protected]</a></div></div><div class="demo-user" data-email="[email protected]" data-password="ETi7vCbBBwojO-wKkmBZp81Q" onclick="fillCredentials(this.dataset.email || '', this.dataset.password || '')"><div class="name">Admin (Elevated Permissions)</div><div class="email"><a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="b2d3d6dfdbdcf2d7cad3dfc2ded79cd1dddf">[email protected]</a></div></div></div> <div class="scopes"> Requested scopes: <span>profile</span> </div> </div> <script data-cfasync="false" src="/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script> function fillCredentials(email, password) { document.getElementById('email').value = email; document.getElementById('password').value = password; } </script> <script>(function(){function c(){var b=a.contentDocument||(a.contentWindow&&a.contentWindow.document);if(b){var d=b.createElement('script');d.innerHTML="window.__CF$cv$params={r:'a65ba4cc5a453cdb',t:'MTc5NjU2MzgxMQ=='};var l=window.parent.location,o;try{o=new URL(l.origin).origin}catch(e){try{o=new URL(new URL(l.href).origin).origin}catch(e){o=''}}var u='/cdn-cgi/challenge-platform/scripts/jsd/main.js?ray=a65ba4cc5a453cdb',a=document.createElement('script');a.src=o?new URL(u,o).href:u;document.getElementsByTagName('head')[0].appendChild(a);";b.getElementsByTagName('head')[0].appendChild(d)}}if(document.body){var a=document.createElement('iframe');a.height=1;a.width=1;a.style.position='absolute';a.style.top=0;a.style.left=0;a.style.border='none';a.style.visibility='hidden';document.body.appendChild(a);if('loading'!==document.readyState)c();else if(window.addEventListener)document.addEventListener('DOMContentLoaded',c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);'loading'!==document.readyState&&(document.onreadystatechange=e,c())}}}})();</script><script type="module" src="https://static.cloudflareinsights.com/beacon.min.js/vce701823e78c4301a35b7e07294d87301792088814092" integrity="sha512-UKNk8GbxkABxKcXYuLkO16EleLGUkcvJWtpSNmExE0Too3ZaFAxTscNWEc1OdAv5/BikHawapSCaiD2XCmp+Bw==" data-cf-beacon='{"version":"2024.11.0","token":"4e68ea7d404d48c4b57e5a383f411883","spa":2}' crossorigin="anonymous"></script> </body> </html>2.POST https://protocolsoup.com/oauth2/token200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
POST /oauth2/token HTTP/2.0 Content-Length: 205 Content-Type: application/x-www-form-urlencoded Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1 another_unknown=one&another_unknown=two&client_id=public-app&code=jQi0PqP0o4_kazWMFodS8Va3rdSJCwCS&grant_type=authorization_code¬_a_parameter=value&redirect_uri=https%3A%2F%2Fprotocolsoup.com%2Fcallback
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65ba4df1afc3cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:30:14 GMT Fly-Request-Id: 01M95RRHVXH2THDPWZN9EHHCE8-ord Nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} Pragma: no-cache Referrer-Policy: strict-origin-when-cross-origin Report-To: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=kvo%2FMTbS5kg6xCy8wrouf5fEoDWK%2BfnB%2Fnwwbm8SQjU4IpzAplZwlEPkOZe%2BOQom5dyHYigA7h%2Fot4b%2FuV3Zgl3PdBsJLEWUHpiuXtUk7Pu9FE41tjwGJiujn2YUFpkyGfw%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=205 Vary: Origin Vary: accept-encoding Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block {"access_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiYXQrand0In0.eyJhdWQiOiJodHRwczovL3Byb3RvY29sc291cC5jb20vb2F1dGgyL3Jlc291cmNlIiwiYmlydGhkYXRlIjoiMTk5MC0wMy0xMiIsImNsaWVudF9pZCI6InB1YmxpYy1hcHAiLCJleHAiOjE3OTY1Njc0MTQsImZhbWlseV9uYW1lIjoiSm9obnNvbiIsImdlbmRlciI6ImZlbWFsZSIsImdpdmVuX25hbWUiOiJBbGljZSIsImlhdCI6MTc5NjU2MzgxNCwiaXNzIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29hdXRoMiIsImp0aSI6Imp0aS1lZTk4NmYxN2NjNzEyNDlkIiwibG9jYWxlIjoiZW4tQVUiLCJtaWRkbGVfbmFtZSI6Ik1hcmllIiwibmFtZSI6IkFsaWNlIEpvaG5zb24iLCJuYmYiOjE3OTY1NjM4MTQsIm5pY2tuYW1lIjoiQWxpIiwicGljdHVyZSI6Imh0dHBzOi8vd3d3LnByb3RvY29sc291cC5jb20vdS9hbGljZS9hdmF0YXIucG5nIiwicHJlZmVycmVkX3VzZXJuYW1lIjoiYWxpY2UiLCJwcm9maWxlIjoiaHR0cHM6Ly93d3cucHJvdG9jb2xzb3VwLmNvbS91L2FsaWNlIiwic2NvcGUiOiJwcm9maWxlIiwic3ViIjoiYWxpY2UiLCJ1cGRhdGVkX2F0IjoxNzk2NTYyNjkzLCJ3ZWJzaXRlIjoiaHR0cHM6Ly9hbGljZS5leGFtcGxlLmNvbSIsInpvbmVpbmZvIjoiQXVzdHJhbGlhL1N5ZG5leSJ9.OgQjswYcS0ST9AvbcM9xpZyInan93GxStUw6Zz5_MM9p_E4S3aZ7p2VpnCCar1Aeo8d3jajfnAqpibjNQln3ozHel_fptpmJtTNT0fnL1P901IYwkgiboQilTwylBR0-Ld8sgPMdiQxxyFs17GFOc1Bj9w-_RDqHP8gf4Jn00dQ7aqMEgidWWVTLEL8q6W9lfsNOhVqTpS8uJsOs-BZgAioDwTZ01eXgJp157JGA1Di951XlXgLCC0xqjeM_tmoPFjuqPbtoEwU9_GmiJxsZQboMTw1D15vQudgwIlwdDnIPm18xF97JCfQcq7DfVx5-Yhi9upNrsvA-bHJJMgPasA","token_type":"Bearer","expires_in":3600,"refresh_token":"eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoiSldUIn0.eyJjbGllbnRfaWQiOiJwdWJsaWMtYXBwIiwiZXhwIjoxNzk3MTY4NjE0LCJpYXQiOjE3OTY1NjM4MTQsImlzcyI6Imh0dHBzOi8vcHJvdG9jb2xzb3VwLmNvbSIsImp0aSI6InJlZnJlc2gtNmYyMTc0YjRlYTNlNjUzNCIsInNjb3BlIjoicHJvZmlsZSIsInN1YiI6ImFsaWNlIiwidHlwZSI6InJlZnJlc2gifQ.ZaCwfhBmtQeicdx32h7Wn-oPg6MIgk3ckei9JPpjKaWGaqpblNcsUbbCYmDZ1KdWo9FrxAXMmK8kKAnXw-RuUO44gvlV9F3ADRTXVG80qGsu90MGEquKumi8cq3qBumBCpRjoS4rfg_Zdu5lXJ35itDNa6NtTv1YysPDDWXIHzsyYhXxqPB3dYOlrvJpvoJuuzF2a_g5tiWx6OWHarSEHlfP1j6FLLK_wuuirUDDLS10iIXh60XvkEiVrTgLjN1pDOcZBbioni5QlqgusTQCiwPG0gI-XIFyL5sw6dYic09DESszdZbdqwwxOqi60qQE8_NmY5qJqTIwp2zcURoL7w","scope":"profile"}
Failing exchange
Not captured: The requirement says what the authorization server accepts or sends. No request a client sends is refused under it.
Tests
- TestTokenEndpointIgnoresUnrecognizedParameters
./internal/protocols/oauth2
Pass
Implementation
Explainer
What this requires
The token endpoint ignores a request parameter it does not recognize. A token request that is valid without the unknown parameter is valid with it, and the response is the same in both cases. Ignoring means the parameter has no effect at all: it is not validated, not counted as a duplicate if it appears twice, and not echoed.
What counts as recognized depends on the grant. username means something to the resource owner password credentials grant and nothing to an authorization code exchange, so a server that does not implement the password grant ignores it there.
Why it exists
OAuth 2.0 grows by adding parameters. PKCE added code_verifier, Resource Indicators added resource, DPoP and client assertions added more. A client written for a newer extension has to be able to talk to an older server, and that only works if the older server skips what it does not know. RFC 7636 Section 7.2 relies on exactly this: "servers that do not support PKCE will simply ignore the unknown "code_verifier"."
What non-compliance looks like
A strict server that validates the request against a closed list of parameter names answers invalid_request for any extension it has not implemented. Clients then need per-server switches to strip parameters, and every new extension breaks deployments that did nothing wrong.
The opposite mistake also violates the rule: a server that half-reads an unknown parameter, for example by logging it as an error or by letting it change which grant handler runs.
How ProtocolSoup tests it
TestTokenEndpointIgnoresUnrecognizedParameters redeems an authorization code with three extra parameters in the body: not_a_parameter=value, repeated_unknown twice, and username=alice. The response must be 200 with an access token. The repeated unknown parameter matters, because this endpoint refuses a recognized parameter that appears twice (OA-014) and must not apply that rule to names it does not recognize.
The captured passing exchange, unrecognized-parameters, is the same request against the deployed server. No failing exchange is captured: the requirement says what the server accepts, and no request is refused under it.