Integrating a new Stamp
iampackage, all Provider implementations are in
Providers must implement a
verify()method that receives a proof payload, and verifies it.
The verification process could involve requests to external servers, reading on-chain data from a smart contract, etc. The proof payload could contain an access token, a blockchain address, etc.
apppackage, each Provider is represented as a ProviderCard in
Each Provider also has an entry in the
app/config/providersspecifying the name, description, and icon.
Each ProviderCard will implement custom logic for the Verify button, which should request and collect proof data from the user to be submitted to the IAM server.
This process could involve initiating an OAuth flow, requesting a signed message from the user's wallet, etc.
For reference, here are past PRs implementing the current stamp providers: