I’ve been having trouble trying to deploy a local copy of the internet identity. I followed the steps given in https://github.com/dfinity/internet-identity/blob/main/README.md for running II locally. Specifically, I used
dfx start from the /internet_identity folder, followed by
II_ENV=development dfx deploy --no-wallet --argument '(null)'. Then I deployed the whoami canister to the same IC replica and started the front end from the demos folder https://github.com/dfinity/internet-identity/tree/main/demos.
I am able to use the “whoami” button to call the canister without issue if I don’t login, but when I try to login I get stuck trying to confirm my device registration for a new II anchor:
I also tried running
dfx start from the /internet_identity/demos/whoami folder and then deploying both canisters to that replica. Doing it this way I don’t get stuck but I end up with a 403 (Forbidden) error stating:
Failed to authenticate request 0xb5c4a510754b5da7da2ee92fbc456f62c1dcde311e44e221a2969a30614bda42 due to: Invalid delegation: Invalid public key: Algorithm Placeholder not supported: Unsupported public key
Has anyone faced similar issues? Any advice is much appreciated