Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Dev notes

Manav Rathi54884a7dd2e4
diff --git a/web/apps/accounts/README.md b/web/apps/accounts/README.md
index 562029b009..1f7554435b 100644
--- a/web/apps/accounts/README.md
+++ b/web/apps/accounts/README.md
@@ -10,3 +10,19 @@ do need a web origin to handle the passkey flow for the mobile clients.
For more details about the Passkey flows,
[docs/webauthn-passkeys.md](../../docs/webauthn-passkeys.md).
+
+## Development
+
+To set this up to work with a locally running museum, modify your local
+`museum.yaml` to set the relaying party's ID to "localhost" (without any port
+number).
+
+```yaml
+webauthn:
+ rpid: "localhost"
+ rporigins:
+ - "http://localhost:3001"
+```
+
+Note that browsers already treat `localhost` as a secure domain, so Passkey APIs
+will work even if our local dev server is using `http`.