Local internet identity failure

Ah, I’ve got an idea which might explain why it works in Safari but, not in Chrome.

Are you using the auth url as described in the II’s README?

To access Internet Identity or configure it for your dapp, use one of the following URLs:

Chrome, Firefox: http://<canister_id>.localhost:4943
Safari: http://localhost:4943?canisterId=<canister_id>

3 Likes

fixed it by deleting the

~/.config/dfx/networks.json

but it think you are right about the url being the culprit.
mine works for:
by using vite frontend host;

http://localhost:5173/?canisterId=bnz7o-iuaaa-aaaaa-qaaaa-cai

phew… for now… :sweat_smile:

1 Like

Thanx for checking and reply. @peterparker @p_d
much appreciated! :pray: :pray:

1 Like

Arghh, you’re right, I should have read the README more carefully. Chaning the auth url to the Chrome one did solve the issue… Seems that the Chrome/Firefox url changed recently, I’m quite sure it worked some weeks ago with the same url as for Safari…

Anyway, thanks a lot for your helpl @peterparker, much appreciated!

1 Like

Great to hear it worked out!

@frederikrothenberger we should maybe find a way to make the note we added recently about “Local dev URL in Chrome vs Safari” in the readme more predominant?

1 Like