What does a scope value that requests a Presentation stand for?
scope value is an alias for a DCQL queryOID4VP 1.0 §5.5MUSTRoles: verifier, wallet
Requirement as recorded in the ProtocolSoup registry
Such a scope parameter value MUST be an alias for a well-defined DCQL query.
Read §5.5 in OID4VP 1.0Self-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, holding an SD-JWT VC that the issuer issued to it, fetches a request object that carries the scope value com.protocolsoup.university_degree_sd_jwt_presentation and no dcql_query, and POSTs a vp_token whose one key is university_degree_sd_jwt, the id of the Credential Query that scope value is an alias for.
Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.
1.GET https://protocolsoup.com/oid4vp/request/ttG3fmm0HmO2x20uwOW7e2Bc200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/request/ttG3fmm0HmO2x20uwOW7e2Bc HTTP/2.0 Accept: application/oauth-authz-req+jwt Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb7e3ddd43cdb-MSP Content-Length: 1538 Content-Type: application/oauth-authz-req+jwt Date: Sun, 06 Dec 2026 13:43:13 GMT Fly-Request-Id: 01M95SGAKK9FSKPP5YGK5E6B2M-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=qmMZp%2F11FSs4BrH32%2FmYoBnw2MmIRC1IprD2OqqrQc01PiQf7KYcgLWCsW%2BPqy1i%2BfCNFfrvADh0q6gpOH4jUm708%2FMCxLGaoGNMi4VRUAckaJYF%2F%2FbfVb%2F98VWpM4sMoPg%3D"}]} Server: cloudflare Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoib2F1dGgtYXV0aHotcmVxK2p3dCJ9.eyJhdWQiOiJodHRwczovL3NlbGYtaXNzdWVkLm1lL3YyIiwiY2xpZW50X2lkIjoicmVkaXJlY3RfdXJpOmh0dHBzOi8vcHJvdG9jb2xzb3VwLmNvbS9vaWQ0dnAvcmVzcG9uc2UiLCJjbGllbnRfbWV0YWRhdGEiOnsidnBfZm9ybWF0c19zdXBwb3J0ZWQiOnsiZGMrc2Qtand0Ijp7ImtiLWp3dF9hbGdfdmFsdWVzIjpbIkVTMjU2Il0sInNkLWp3dF9hbGdfdmFsdWVzIjpbIkVTMjU2Il19LCJqd3RfdmNfanNvbiI6eyJhbGdfdmFsdWVzIjpbIkVTMjU2IiwiUlMyNTYiLCJFZERTQSJdfSwibGRwX3ZjIjp7InByb29mX3R5cGVfdmFsdWVzIjpbIkRhdGFJbnRlZ3JpdHlQcm9vZiIsIkVkMjU1MTlTaWduYXR1cmUyMDIwIl19LCJtc29fbWRvYyI6eyJkZXZpY2VhdXRoX2FsZ192YWx1ZXMiOlstN10sImlzc3VlcmF1dGhfYWxnX3ZhbHVlcyI6Wy03XX19fSwiZXhwIjoxNzk2NTY0ODkyLCJpYXQiOjE3OTY1NjQ1OTIsImlzcyI6InJlZGlyZWN0X3VyaTpodHRwczovL3Byb3RvY29sc291cC5jb20vb2lkNHZwL3Jlc3BvbnNlIiwianRpIjoidHRHM2ZtbTBIbU8yeDIwdXdPVzdlMkJjIiwibm9uY2UiOiI4SnVvMHl0ZmRtYU9MV0dJMk9qLWxoZktfSEZVWEpDN0UtYUdad3k5Tm1NIiwicmVzcG9uc2VfbW9kZSI6ImRpcmVjdF9wb3N0IiwicmVzcG9uc2VfdHlwZSI6InZwX3Rva2VuIiwicmVzcG9uc2VfdXJpIjoiaHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2cC9yZXNwb25zZSIsInNjb3BlIjoiY29tLnByb3RvY29sc291cC51bml2ZXJzaXR5X2RlZ3JlZV9zZF9qd3RfcHJlc2VudGF0aW9uIiwic3RhdGUiOiJ2VEs0YV9DYk5vTE5hNUdLM19zVU5qWHkifQ.YPNGlszjSizJ_e2PTFisuPUrivOJeYZUpORoUGmtaVl0vpusF1AaBtsFXJzOeqRqAf5DNWrt445yyyR8-xLKad0-di6XvC7cludYNCw6JVz88OqIjO56X-FA-D7Fpkdf5nW2gWvY_t8sATNfco5ddpk24RMH6QChtiK79uub4yP06chQrRmCDgFH5prOyS3JRJhyOW1nxtjKCalvOEHaPLx1LWfnmVyMLYxi7NR6f5rpqhLgxlNZJS4xJQxgOkhC4xz5d5RlkgNIQewyJ0Z3qL5y9CauuKKjz-Oi8GHgml8Rl61ABiSKIalhYx0CKbjrRHlaN3FtJVLaudKuMrA_iQ2.POST https://protocolsoup.com/oid4vp/response200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
POST /oid4vp/response HTTP/2.0 Content-Length: 2989 Content-Type: application/x-www-form-urlencoded Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1 state=vTK4a_CbNoLNa5GK3_sUNjXy&vp_token=%7B%22university_degree_sd_jwt%22%3A%5B%22eyJhbGciOiJFUzI1NiIsImtpZCI6Ik5KMER1S0x2M0VsU0tCTWpKMEpkOXdZRkZnbmczVk5GcEwwdzFldDhRMUkiLCJ0eXAiOiJkYytzZC1qd3QiLCJ4NWMiOlsiTUlJQ2ZqQ0NBaVNnQXdJQkFnSVJBS0FCQklSc2hyczRhYVVsbzE4OUY1QXdDZ1lJS29aSXpqMEVBd0l3U1RFTE1Ba0dBMVVFQmhNQ1ZWTXhGVEFUQmdOVkJBb1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huc29uIl0~WyJ3QjdUeTFSNEJBYTdWdkJ6azlOOWNBIiwiZ2l2ZW5fbmFtZSIsIkFsaWNlIl0~WyJKRXpCVDVCRnZ3WnpNcEVsbHQ0am13IiwiZ3JhZHVhdGlvbl95ZWFyIiwyMDE4XQ~eyJhbGciOiJFUzI1NiIsInR5cCI6ImtiK2p3dCJ9.eyJhdWQiOiJyZWRpcmVjdF91cmk6aHR0cHM6Ly9wcm90b2NvbHNvdXAuY29tL29pZDR2cC9yZXNwb25zZSIsImlhdCI6MTc5NjU2NDU5Mywibm9uY2UiOiI4SnVvMHl0ZmRtYU9MV0dJMk9qLWxoZktfSEZVWEpDN0UtYUdad3k5Tm1NIiwic2RfaGFzaCI6IkF0LTZwTmlsNGVkek5ycUN0eVFwLUUxUjhvR0xsUjg4eVBMcTdTM2RGdVkifQ.KNxslVrVubxTfzFz2-4LV89gvL7yrNVb90ND7vRIoHG25TPQ9fQ5p2KhkBBMOvoQ79lRSh8Y1numE5jdMmV9rA%22%5D%7D
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb7ea1c193cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:43:14 GMT Fly-Request-Id: 01M95SGBK09646X4NRQ5R2CEF0-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=zDcNU%2BrlZ1PoGk9uCaZ5YOpnPJdWhYHPeumDWPVcLPH3i6NOXe413V5I3LFh1244GOhvYa04d568G6glKaL7ZPZLRptC1w8kItoVVrB7hOaA1CeXxPcJo4fMrHFzSuf7Z%2B8%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=5,cfOrigin;dur=206 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 {}3.GET https://protocolsoup.com/oid4vp/result/ttG3fmm0HmO2x20uwOW7e2Bc200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/result/ttG3fmm0HmO2x20uwOW7e2Bc HTTP/2.0 Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb7f058e23cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:43:15 GMT Fly-Request-Id: 01M95SGCJ4FN373CNQZJ2HQ6Z9-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=L%2B%2BYKFOf85IG7BulWxYVsIRnzZRdS0HfYn0C2WvJ7GOqRDNpyhKZG8CO3mQxB9QZB2vPHTYOpycGxnVWsgkc9uxVlT5ZQ9WvHbPqL%2FszSUhYkA2bV3G92L0OqbR6LTQzBlg%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=197 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 {"request_id":"ttG3fmm0HmO2x20uwOW7e2Bc","result":{"nonce_validated":true,"audience_validated":true,"expiry_validated":true,"holder_binding_verified":true,"credential_evidence":{"subject":"alice","format":"dc+sd-jwt","vct":"https://protocolsoup.com/credentials/university_degree","issuer":"https://protocolsoup.com/oid4vci","required_claim_paths":["degree","graduation_year"],"disclosed_claims":{"degree":"Bachelor of Engineering","department":"Engineering","family_name":"Johnson","given_name":"Alice","graduation_year":2018},"full_claims":{"cnf":{"jwk":{"crv":"P-256","kty":"EC","x":"obQtkiUdiku8QxpsVPmMeGrAn9-7UO28gtbYGTdk8nA","y":"spS6-G19EWV5w2AHKvzExxK5UDKE9kQ1vBHC8fNTdbs"}},"degree":"Bachelor of Engineering","department":"Engineering","exp":1796601600,"family_name":"Johnson","given_name":"Alice","graduation_year":2018,"iat":1796515200,"iss":"https://protocolsoup.com/oid4vci","jti":"PsQ39BO1Os7L4c6O2z3juj76","nbf":1796515200,"sub":"alice","vct":"https://protocolsoup.com/credentials/university_degree"}},"credential_evidence_set":[{"subject":"alice","format":"dc+sd-jwt","vct":"https://protocolsoup.com/credentials/university_degree","issuer":"https://protocolsoup.com/oid4vci","required_claim_paths":["degree","graduation_year"],"disclosed_claims":{"degree":"Bachelor of Engineering","department":"Engineering","family_name":"Johnson","given_name":"Alice","graduation_year":2018},"full_claims":{"cnf":{"jwk":{"crv":"P-256","kty":"EC","x":"obQtkiUdiku8QxpsVPmMeGrAn9-7UO28gtbYGTdk8nA","y":"spS6-G19EWV5w2AHKvzExxK5UDKE9kQ1vBHC8fNTdbs"}},"degree":"Bachelor of Engineering","department":"Engineering","exp":1796601600,"family_name":"Johnson","given_name":"Alice","graduation_year":2018,"iat":1796515200,"iss":"https://protocolsoup.com/oid4vci","jti":"PsQ39BO1Os7L4c6O2z3juj76","nbf":1796515200,"sub":"alice","vct":"https://protocolsoup.com/credentials/university_degree"}}],"policy":{"allowed":true,"code":"allowed","message":"Presentation accepted","evaluated_at":"2026-12-06T13:43:14.375199493Z"}},"status":"completed"}
Failing exchange
Rejected, as requiredConformance client
The conformance client answers the same scope request with the same kind of Presentation under the key degree, which is not the id of a Credential Query in the DCQL query the scope value is an alias for.
Requests from ProtocolSoup’s conformance client, which sends malformed messages on purpose. The hosted wallet never sends these.
1.GET https://protocolsoup.com/oid4vp/request/xwUhghZSQHMyychHVwJ0fanq200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/request/xwUhghZSQHMyychHVwJ0fanq HTTP/2.0 Accept: application/oauth-authz-req+jwt Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb81c18c93cdb-MSP Content-Length: 1538 Content-Type: application/oauth-authz-req+jwt Date: Sun, 06 Dec 2026 13:43:22 GMT Fly-Request-Id: 01M95SGKCWG9D1PF5YGSFS0GM8-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=dSDox8v4AVEcCglj7kgeTStXtouV2j4PPbJgGyOPc8hgeUW4OJV44u54B3YmUn5IzQ2figoHRHLe7cMWrSEhX8Y7AVGuAOGsDfGLf1gGSNIVQIZeRZW3tO0nky6JfMe2ym0%3D"}]} Server: cloudflare Speculation-Rules: "/cdn-cgi/speculation" Vary: Origin Via: 1.1 fly.io, 1.1 fly.io X-Content-Type-Options: nosniff X-Frame-Options: DENY X-Xss-Protection: 1; mode=block eyJhbGciOiJSUzI1NiIsImtpZCI6InJzYS05YTJlNThlYzVjNjk3NGJmIiwidHlwIjoib2F1dGgtYXV0aHotcmVxK2p3dCJ9.eyJhdWQiOiJodHRwczovL3NlbGYtaXNzdWVkLm1lL3YyIiwiY2xpZW50X2lkIjoicmVkaXJlY3RfdXJpOmh0dHBzOi8vcHJvdG9jb2xzb3VwLmNvbS9vaWQ0dnAvcmVzcG9uc2UiLCJjbGllbnRfbWV0YWRhdGEiOnsidnBfZm9ybWF0c19zdXBwb3J0ZWQiOnsiZGMrc2Qtand0Ijp7ImtiLWp3dF9hbGdfdmFsdWVzIjpbIkVTMjU2Il0sInNkLWp3dF9hbGdfdmFsdWVzIjpbIkVTMjU2Il19LCJqd3RfdmNfanNvbiI6eyJhbGdfdmFsdWVzIjpbIkVTMjU2IiwiUlMyNT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IzHDyseTvRw2.POST https://protocolsoup.com/oid4vp/response200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
POST /oid4vp/response HTTP/2.0 Content-Length: 2971 Content-Type: application/x-www-form-urlencoded Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1 state=DSIh9uHAikRW4_5zUecyHk89&vp_token=%7B%22degree%22%3A%5B%22eyJhbGciOiJFUzI1NiIsImtpZCI6Ik5KMER1S0x2M0VsU0tCTWpKMEpkOXdZRkZnbmczVk5GcEwwdzFldDhRMUkiLCJ0eXAiOiJkYytzZC1qd3QiLCJ4NWMiOlsiTUlJQ2ZqQ0NBaVNnQXdJQkFnSVJBS0FCQklSc2hyczRhYVVsbzE4OUY1QXdDZ1lJS29aSXpqMEVBd0l3U1RFTE1Ba0dBMVVFQmhNQ1ZWTXhGVEFUQmdOVkJBb1RERkJ5YjNSdlkyOXNVMjkxY0RFak1DRUdBMVVFQXhNYVVISnZkRzlqYjJ4VGIzVndJRzFFVENCSlFVTkJJRkp2YjNRd0hoY05Nall3TmpJek1USTFOVFF5V2hjTk1qY3dOakl6TVRNd01EUXlXakJQTVFzd0NRWURWUVFHRXdKVlV6RVZNQk1HQTFVRUNoTU1VSEp2ZEc5amIyeFRiM1Z3TVNrd0p3WURWUVFERXlCUWNtOTBiMk52YkZOdmRYQWdiVVJNSUVSdlkzVnRaVzUwSUZOcFoyNWxjakJaTUJNR0J5cUdTTTQ5QWdFR0NDcUdTTTQ5QXdFSEEwSUFCUEtJUXE3amRaQmFlQnNFV1BGenRLZGpBeTMwTkxqOFhjdW5FODlmV1hZMzlQUENpOGZyTE5GSkJJajdiRzdHTkthbkd0MFRlSUp1dGxrUytndVNBL1NqZ2VZd2dlTXdEZ1lEVlIwUEFRSC9CQVFEQWdlQU1CSUdBMVVkSlFRTE1Ba0dCeWlCakYwRkFRSXdEQVlEVlIwVEFRSC9CQUl3QURBZEJnTlZIUTRFRmdRVTZzUmZzVXM0c3YxcDRkZ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: DYNAMIC Cf-Ray: a65bb8225dbd3cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:43:23 GMT Fly-Request-Id: 01M95SGMC4PQE6GA2CQYAX0PCG-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=IY2bZWweru4ZWppXR%2BWn7zvkX%2FWThBD1HT7RJ74gEFjhFmW6NeOgvmOTKevzDN9quOPYZWfckiBUIwYYKuHBJwZ0OO%2B%2F0vz4ycxxmMmgLfAgLZcVjrfEAURwwUT4%2FJfFWP4%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=209 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 {}3.GET https://protocolsoup.com/oid4vp/result/xwUhghZSQHMyychHVwJ0fanq200 OK
TLS: TLS 1.3 · TLS_AES_128_GCM_SHA256 · h2
Request
GET /oid4vp/result/xwUhghZSQHMyychHVwJ0fanq HTTP/2.0 Host: protocolsoup.com User-Agent: ProtocolSoup-Conformance-Client/1
Response
HTTP/2.0 200 OK Cache-Control: no-store Cf-Cache-Status: DYNAMIC Cf-Ray: a65bb8289b593cdb-MSP Content-Type: application/json Date: Sun, 06 Dec 2026 13:43:24 GMT Fly-Request-Id: 01M95SGNBDP0KQT6YBEPNNX9DK-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=82ZQFjFjFGAy07s%2FnbQ2zxwcIMgRMsZ7AD75RL3gTvCXNl%2FzwVo%2FuRRpPFCeI4UvPGctL8ry7Hjji889HtyplMJpGD8nkrlcUC1ho1Sa4DwA%2BHkj7svr%2Bs9vh3%2BpAp5skTU%3D"}]} Server: cloudflare Server-Timing: cfCacheStatus;desc="DYNAMIC" Server-Timing: cfEdge;dur=3,cfOrigin;dur=202 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 {"request_id":"xwUhghZSQHMyychHVwJ0fanq","result":{"nonce_validated":false,"audience_validated":false,"expiry_validated":false,"holder_binding_verified":false,"policy":{"allowed":false,"code":"vp_token_invalid","message":"Presentation denied: vp_token key \"degree\" is not the id of a Credential Query in the request","reasons":["vp_token key \"degree\" is not the id of a Credential Query in the request"],"reason_codes":["vp_token_invalid"],"evaluated_at":"2026-12-06T13:43:23.36795103Z"}},"status":"completed"}
Run it live
Looking Glass runs the flow that sends the message this requirement governs, against the same server, and decodes each exchange as it happens.
Open the flow in Looking GlassTests
- TestPresentationScopesAreAliasesForDCQLQueries
./internal/vc
Pass - TestScopeValueIsAnAliasForADCQLQuery
./internal/protocols/oid4vp
Pass - TestScopeRequestIsAnsweredAsTheDCQLQueryItStandsFor
./cmd/walletharness
Pass
Implementation
Explainer
What this requires
OpenID4VP 1.0 Section 5.1 allows two ways to say what is being asked for: "Either a dcql_query or a scope parameter representing a DCQL Query MUST be present in the Authorization Request, but not both." Section 5.5 then says what the second one means: "Wallets MAY support requesting Presentations using OAuth 2.0 scope values. Such a scope parameter value MUST be an alias for a well-defined DCQL query."
The specification does not define any values. "The specific scope values, and the mapping between a certain scope value and the respective DCQL query, are out of scope of this specification", and "It is RECOMMENDED to use collision-resistant scopes values." A Wallet that receives a value it has no query for answers with the error of Section 8.5: "invalid_scope: Requested scope value is invalid, unknown, or malformed."
Why it exists
A scope value is short, and it can be agreed once and reused, which suits a deployment where one kind of credential is asked for again and again. It only works when the value means the same query to the Verifier and the Wallet. The response has no other way to say what it answers: vp_token is keyed by the id of a Credential Query, and the request carries no query. If the value is not an alias for a defined query, the Wallet has to guess what to present and the Verifier has nothing to check the answer against.
What non-compliance looks like
A Verifier sends scope=openid profile or a label it made up and expects the Wallet to work out a credential from it. A Wallet treats any scope as "present whatever credential is active" and returns a bare Presentation. A Verifier accepts whatever comes back for a scope request because it never resolved the value to a query. A request carries both scope and dcql_query.
How ProtocolSoup tests it
presentationScopes in backend/internal/vc/dcql.go defines four values under the reversed protocolsoup.com domain, each an alias for a DCQL query with one Credential Query: com.protocolsoup.mobile_driving_licence_presentation (id mobile_driving_licence, mso_mdoc), com.protocolsoup.university_degree_sd_jwt_presentation (id university_degree_sd_jwt, dc+sd-jwt), com.protocolsoup.university_degree_jwt_vc_json_presentation (id university_degree_jwt_vc_json) and com.protocolsoup.university_degree_ldp_vc_presentation (id university_degree_ldp_vc). DCQLQueryForScope resolves the space-delimited scope parameter to the query of its values and fails for a value that is not defined.
The verifier's request handler (backend/internal/protocols/oid4vp/handlers.go) resolves the scope when the request is created, refuses an undefined value with HTTP 400 invalid_scope, signs a request object that carries scope and no dcql_query, and checks the response against the aliased query, so the vp_token has to be keyed by that query's Credential Query ids. The hosted wallet's requestedDCQLQuery (backend/cmd/walletharness/main.go) resolves the same values, builds the vp_token under the aliased ids, and reports an undefined value as invalid_scope.
TestPresentationScopesAreAliasesForDCQLQueries asserts that every defined value resolves to one Credential Query with an id and a format, and that an empty, unknown or differently cased value does not resolve. TestScopeValueIsAnAliasForADCQLQuery asserts the 400 invalid_scope for undefined values, that the request object carries scope and no dcql_query, that a Presentation keyed by the aliased id is allowed, and that a bare Presentation, a wrong key and a credential of another scope's format are denied. TestScopeRequestIsAnsweredAsTheDCQLQueryItStandsFor asserts the wallet's side. The mapping is ProtocolSoup's own, so a Wallet from elsewhere has to be given it before it can answer these scope values.