Skip to content

Commit b66042c

Browse files
docs: list all supported origins in CORS guidance
Address review comment: since Internet Identity is served under legacy alias hostnames as well, the CORS guidance should mention all supported origins, not just id.ai.
1 parent 4794470 commit b66042c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/ii-spec.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ To prevent misuse of this feature, the number of alternative origins _must not_
332332
:::
333333

334334
:::note
335-
In order to allow Internet Identity to read the path `/.well-known/ii-alternative-origins`, the CORS response header [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) must be set and allow the Internet Identity origin `https://id.ai`.
335+
In order to allow Internet Identity to read the path `/.well-known/ii-alternative-origins`, the CORS response header [`Access-Control-Allow-Origin`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin) must be set and allow the Internet Identity origin being used, for example `https://id.ai`, `https://identity.internetcomputer.org`, or `https://identity.ic0.app`.
336336
:::
337337

338338
## The Internet Identity Service Backend interface

0 commit comments

Comments
 (0)