Automate the deployment with dfx.json
- i.e. add following to your configuration. It will fetch and deploy the wasm of II locally.
"internet_identity": {
"type": "custom",
"candid": "internet_identity.did",
"wasm": "internet_identity.wasm",
"build": "bash -c 'test -f internet_identity.wasm || curl -sSL https://github.com/dfinity/internet-identity/releases/latest/download/internet_identity_dev.wasm -o internet_identity.wasm; test -f internet_identity.did || curl -sSL https://raw.githubusercontent.com/dfinity/internet-identity/main/src/internet_identity/internet_identity.did -o internet_identity.did'",