-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Context
When requesting a grant, the client field represents the wallet address of the entity that makes the request. To address the privacy concerns for the in browser implementation of Web Monetization we want to support a directed identity approach for non-interactive grants.
More context: Open Payments User Wallet Directed Identity Document
Todos
- The
clientfield should be an object that accepts the following properties:jwkorwalletAddress(mutually exclusive - only one of them)jwkshould be constrained to the format:open-payments-specifications/openapi/wallet-address-server.yaml
Lines 166 to 197 in a0d4177
json-web-key: type: object properties: kid: type: string alg: type: string description: 'The cryptographic algorithm family used with the key. The only allowed value is `EdDSA`. ' enum: - EdDSA use: type: string enum: - sig kty: type: string enum: - OKP crv: type: string enum: - Ed25519 x: type: string pattern: '^[a-zA-Z0-9-_]+$' description: The base64 url-encoded public key. required: - kid - alg - kty - crv - x
- Backwards compatibility for the
clientfield - should be available to use in both formats (string and the new object) for some time to allow people to migrate.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Backlog