This is a template that showcases how to use Affinidi Vault to perform authentication and to interact with the vault. It accomplishes this through Affinidi Vault Chrome Extension using the OpenID for Verifiable Presentations specification.
First, copy .env.example
to .env
:
cp .env.example .env
Install the required dependencies:
pip install -r requirements.txt
Create your Affinidi Login Configuration with the Affinidi CLI or at Affinidi Portal, make sure to add http://localhost:8000/callback
into authorized redirect URIs.
Please read the setup login config guide to understand more about setting up login configuration.
Fill the client ID, secret and issuer URL in .env
file
then run:
python manage.py migrate
Start server with:
python manage.py runserver
Then visit: http://localhost:8000
Explore our documentation and labs to learn more about integrating Affinidi Login with Affinidi Vault.
Affinidi collects usage data to improve our products and services. For information on what data we collect and how we use your data, please refer to our Privacy Notice.
Click here to create a ticket and we will get on it right away. If you are facing technical or other issues, you can Contact Support.
You are only limited by your imagination! Affinidi Reference Applications are a toolbox with which you can build software apps for personal or commercial use.
We only provide the tools - how you use them is largely up to you. We have no control over what you develop with our tools - but please use our tools responsibly!
We hope that you would not develop anything that contravenes any applicable laws or regulations. Your projects should also not infringe on Affinidi’s or any third party’s intellectual property (for instance, misusing other parties’ data, code, logos, etc).
Please ensure that you have in place your own terms and conditions, privacy policies, and other safeguards to ensure that the projects you build are secure for your end users.
If you are processing personal data, please protect the privacy and other legal rights of your end-users and store their personal or sensitive information securely.
Some of our components would also require you to incorporate our end-user notices into your terms and conditions.
Affinidi Reference Applications are free, so come onboard and experiment with our tools and see what you can build! We may bill for certain components in the future, but we will inform you beforehand.
From time to time, we may request certain information from you to ensure that you are complying with the Terms and Conditions.
When you create a developer’s account with us, we will issue you your private login credentials. Please do not share this with anyone else, as you would be responsible for activities that happen under your account. If you have friends who are interested, ask them to sign up – let's build together!
Please note that this FAQ is provided for informational purposes only and is not to be considered a legal document. For the legal terms and conditions governing your use of the Affinidi Reference Applications, please refer to our Terms and Conditions.