How to run internet identity locally without docker?

Oh that’s good sign, it means the canister was deployed but you picked the wrong canister ID. It happened to me too, the dfx output is a bit confusing.

The output is actually the candid explorer output, what you get in your screenshot. The effective canister ID deployed is the one indicated with param id= not the one with canisterId= (see my screenshot here).

So in your above snippet, instead of

identityProvider = "http://127.0.0.1:4943/?canisterId=rkp4c-7iaaa-aaaaa-aaaca-cai&id=r7inp-6aaaa-aaaaa-aaabq-cai

You can probably use

identityProvider = "http://127.0.0.1:4943/?canisterId=r7inp-6aaaa-aaaaa-aaabq-cai

Alternatively, if you don’t care about developing in Safari, you can also use the canisterId as sub-domain like http://r7inp-6aaaa-aaaaa-aaabq-cai.127.0.0.1:4943/.

2 Likes