From 2af2b868b03e8361af8073342b26e63c7e3c8d1c Mon Sep 17 00:00:00 2001 From: Frederik Rothenberger Date: Mon, 18 Dec 2023 13:43:40 +0100 Subject: [PATCH] Update readme with local URLs The recent refactoring with multiple JS bundles has lead to II breaking in Chrome, when the canister id is supplied as an URL parameter. There is no easy or nice solution, so for now we just advise developers to use a different URL scheme when using anything but Safari. --- README.md | 5 +++++ demos/using-dev-build/README.md | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e9b666005a..5b9f7d5eb7 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,11 @@ Use the Internet Identity canister in your local dfx project by adding the follo } } ``` +To deploy, run `dfx deploy`. + +To access Internet Identity use one of the following URLs: +* Chrome, Firefox: `http://.localhost:4943` +* Safari: `http://localhost:4943?canisterId=` ### Architecture Overview diff --git a/demos/using-dev-build/README.md b/demos/using-dev-build/README.md index bad96c8d7e..06322e8237 100644 --- a/demos/using-dev-build/README.md +++ b/demos/using-dev-build/README.md @@ -128,7 +128,9 @@ You might get different canister IDs (and that's totally fine). If the `webapp` ![](./webapp.png) -_If you actually use the webapp, make sure that the "Internet Identity URL" field points to `http://localhost:4943/?canisterId=`._ +_If you actually use the webapp, make sure that the "Internet Identity URL" field points to one of these URLS_: +* Chrome and FirefoxSafari `http://.localhost:4943/`. +* Safari `http://localhost:4943/?canisterId=`. ## Helpers