Affinidi Iota Framework Configuration
To enable Affinidi Iota Framework on your website, you must create an Affinidi Iota Framework configuration where you select the wallet used to sign the request token and the expiration of the request token, including the Presentation Definition to use to query the data from Vault.
Configuration Details
Below are the relevant fields when managing Affinidi Iota Framework Configuration:
Required Fields
Name of configuration: Assigns name for the configuration for your personal convenience.
Signing Wallet: Assigns existing wallet or initiates new wallet creation process. Required for signing request token, for initiating data requests from the Affinidi Vault.
In case you want to create new wallet:
Name of Wallet: (Required) Provides name for the new wallet.
Description: (Optional) Provides the explanation of wallet usage.
DID method of wallet: (Default) By default the new wallet will have the DID method did:key.
Read more about Wallets here.
Data sharing flow mode: Affinidi Iota Framework provides different modes of enabling consent-drive data-sharing flow on your applications. Select the option on how you want to handle the data-sharing request. More about this mode here.
Redirect URLs: Choosing Redirect mode, list the allowed Redirect URLs for user redirection and sending the response from Afiinidi Vault.
Lifetime of Request Token: Credential Offers have a limited lifetime to enhance security. Consumers must claim the offer within this timeframe.
Optional Fields
Description: Provides description of the configuration purpose and usage.
Display name: Name of the configuration displayed on the Affinidi Vault during the process of requesting consent from the consumer.
Origin: Domain URL displayed on the Affinidi Vault during the process of requesting consent from the consumer.
Logo URL: Your application’s logo displayed on the Affinidi Vault during the process of requesting consent from the consumer.
Recommended Fields
Enable Credential Verification: To verify the credentials the user shares using the Credential Verification service.
Enable Consent Audit Log: To store the consent given by the user whenever they share data with the website.
Note
We recommend to enable these options for the additional benefit of Credential Verification, which verifies if the data shared is tamper-evident and stores the consent provided by the user when sharing data with your website.Identity Verification Flow
Enable Identity Verification (IDV): When requesting the verified identity VC of the user from their Affinidi Vault is not available, enabling this option triggers the verification process where the user is asked to provide a self-photo and one of the supported documents to verify their identity. You can read more about Identity Verification here.
The data sharing flow must be in Redirect mode if this option is enabled. You must also create a Presentation Definition to query the verified identity VC from the user’s Affinidi Vault. Refer to this document for details of the query.
Note
Identity Verification feature is currently in Closed Beta. To enable this feature in your project, send us a request through Contact Us form.Create Affinidi Iota Framework Configuration
You can easily do this using the Affinidi Portal:
Go to Affinidi Portal and click on the Affinidi Iota Framework page.
Click on Create Configuration and set the following fields:
After setting the fields, including the Wallet used for signing and additional options, click Create.
After creating the configuration, define the Presentation Definitions to query specific data from the Affinidi Vault. We will define the Presentation Definition from the Presentation Exchange protocol to do this.
- Provide the name of the Presentation Definition and then select from the available templates to pre-populate the editor. You can modify the presentation definition template based on the required data you would like to request from the Affinidi Vault.
Click on the + Add button to create additional presentation definitions for the current configuration. After adding the presentation definitions, click on the Create button.
Each Presentation Definition created will have a corresponding Query ID. The Query ID is used to get the presentation definition required to generate the request token to request data from the Affinidi Vault.
Note
You can only create up to 10 Configurations per Project. If you wish to create more than 10 Configurations, you must create a new Project.Glad to hear it! Please tell us how we can improve more.
Sorry to hear that. Please tell us how we can improve.
Thank you for sharing your feedback so we can improve your experience.