Skip to content

Commit

Permalink
Update readme with local URLs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Frederik Rothenberger committed Dec 18, 2023
1 parent ed19d81 commit 2af2b86
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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://<canister_id>.localhost:4943`
* Safari: `http://localhost:4943?canisterId=<canister_id>`

### Architecture Overview

Expand Down
4 changes: 3 additions & 1 deletion demos/using-dev-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<canister ID of the internet_identity canister>`._
_If you actually use the webapp, make sure that the "Internet Identity URL" field points to one of these URLS_:
* Chrome and FirefoxSafari `http://<canister ID of the internet_identity canister>.localhost:4943/`.
* Safari `http://localhost:4943/?canisterId=<canister ID of the internet_identity canister>`.

## Helpers

Expand Down

0 comments on commit 2af2b86

Please sign in to comment.