2024-08-29 17:51:03 +05:30
..
2024-06-14 13:49:45 +05:30
2024-08-29 17:51:03 +05:30
ff
2024-05-10 22:22:39 +05:30
2024-06-06 12:40:02 +05:30
2024-06-12 11:16:24 +05:30
2024-07-18 18:55:33 +05:30
2024-07-18 18:55:33 +05:30
2024-06-12 15:37:38 +05:30
2024-07-18 18:55:33 +05:30

Ente Accounts

Code that runs on accounts.ente.io.

Primarily, this serves a common domain where our clients can create and authenticate using shared passkeys tied to the user's Ente account.

Note

Passkeys can be shared by multiple subdomains, so we didn't strictly need a separate web origin for sharing passkeys between our (photos and auth) web clients, but we do need a web origin to handle the passkey flow for the desktop and mobile clients.

For more details about the Passkey flows, 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).

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.