Create a Sismo Connect App
Before you begin integrating Sismo Connect, you must register first a Sismo Connect app in the Sismo Factory. This step is mandatory to obtain an application Id (
appId), which is required during the Sismo Connect development process.
appIdwill be used to compute a VaultId, which is the the unique identifier for a user on your app. The VaultId is simply the hash of a user's Vault secret and the appId.
If we remove the
appIdfrom this simple calculation, we would have had the same VaultId for the same vaultSecret, effectively leaking information about a user that uses Sismo Connect on two different apps. The VaultId would be the same across different apps, and the user could be tracked if the VaultIds became public.
By introducing an
appId, the vaultId is now different between apps, and the same user will have two different VaultIds on two different apps, effectively preserving the user's privacy.
You can register a Sismo Connect app here: https://factory.sismo.io/apps-explorer. To create a Sismo Connect app, you need to log in with Sign-In With Ethereum and click on “create a new Sismo Connect app”. You will need to register an App Name, enter a description, and upload a logo alongside registering authorized domains. Pay attention to authorized domains, as these are the urls where the
appIdthat will be created can be used for Sismo Connect.
Feel free to add
*.comto authorized domains when developing in local. This will allow you to easily whitelist
localhost. Don't forget to update the authorized domains when deploying in production though.
Once created, you should have all information about your app displayed in your profile:
my Sismo Connect App
appIddisplayed on your app’s profile in the Factory is its unique identifier. You will use it to request proof from your users in your app’s front end and to verify it in the back end or your smart contracts.
In this example, my