Below are the steps will guide you on enabling Domain Verification Service on WIX sites, Learn more about Domain Verification Service here
-
Login to portal.affinidi.com and go to Affinidi Login
-
Open the Login Configuration if you would like to have the domain verified.
-
Click on the Verify button in the Configuration Details section
-
Confirm that the domain value is correct and click on Continue button.
Note: If you need to update the value, click on the Login Configuration Detail link and update the Origin URL field.
-
The service will generate the required did:web document. Download the did:web document.
WIX has certain limitations when it comes to hosting custom files in specific directories like .well-known
, but there are alternatives one of simpler way is an upload did.json
document as Media and Add a redirection rule.
Follow the steps
-
Open your Wix Editor and upload
did:web
(did.json) document -
Copy the URL of the uploaded
did.json
document -
Open Wix Dashboard and Then, under SEO Tools, click on URL Redirect Manager
-
Add redirect rule, Click on
+ New Redirect
and enter details as mentioned below
-
Click Save to apply the redirect rule, This will ensure that when someone visits e.g. https://parameshk9.wixsite.com/.well-known/did.json, they will be redirected to the new URL where your
did.json
is hosted. -
We can test the redirection by clicking on
View redirect
buttonNote: 301 redirections won't work without custom domains
-
If redirection working fine, then Click on
I've hosted it
button on the Affinidi Portal -
Once successful, the Login Configuration will be updated with a verified domain, and the same verified tag will be reflected on Affinidi Vault’s consent page when users share their data.
-
Once Affinidi verifies the domain, users will see a verified checkmark on the Consent screen of the Affinidi Vault when sharing their data, increasing user trust and providing better user experience.