Request Your First Presentation
Now that you've issued a credential, let's verify it by requesting a presentation from the wallet. This guide shows you how to create a presentation configuration and request credentials from users.
- Complete Issue Your First Credential
- Have a wallet with at least one credential from EUDIPLO
Understanding Presentationβ
Credential presentation enables verifiers to:
- Request specific credentials from users' wallets
- Verify authenticity of presented credentials
- Extract required claims for authorization or validation
- Maintain privacy by requesting only necessary information
Step 1: Create a Presentation Configurationβ
-
Navigate to Presentation β Presentation Configs in the sidebar
-
Click + Create
-
Fill in:
- ID:
age-verification - Description:
Verify age over 18
- ID:
-
Configure the DCQL query to request the credential:
{"credentials": [{"id": "pid","format": "dc+sd-jwt","meta": {"vct_values": ["urn:eudi:pid:1"]},"claims": [{"path": ["age_over_18"]},{"path": ["given_name"]},{"path": ["family_name"]}]}]} -
Click Save
DCQL (Digital Credentials Query Language) lets you precisely define which credentials and claims you want to request. See DCQL for detailed query syntax.
Step 2: Create a Presentation Requestβ
- Navigate to Presentation β Sessions
- Click + New Request
- Select your presentation configuration:
age-verification - Click Create Request
- A QR code appearsβscan it with your wallet that contains the credential
Step 3: Present the Credentialβ
- Your wallet displays the presentation request
- Review the requested claims
- Approve the presentation in your wallet
- The wallet sends the credential to EUDIPLO
Step 4: View the Verified Claimsβ
After the wallet presents the credential:
-
Return to the Presentation β Sessions page
-
Find your session in the list
-
Click on it to see the verified claims:
{"pid": {"age_over_18": true,"given_name": "John","family_name": "Doe"}}
In production, you'll typically configure a webhook to receive verified claims automatically. See Handling Results for details.
What's Next?β
You've successfully verified your first credential! Continue to:
- Next Steps β Explore production deployment, trust management, and advanced features