Admin page for users in db-auth.
- JavaScript 94%
- CSS 4.7%
- HTML 1.3%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| components | ||
| app.css | ||
| app.js | ||
| favicon.svg | ||
| index.html | ||
| LICENSE | ||
| README.md | ||
| submitted.html | ||
db-auth admin
The account page for db-auth: register, log in and out, passkeys, QR codes and deleting the user. It loads db-auth like any app.
A login made here is kept for every page on the same origin, so serve it from the apps' origin.
Running it
Open index.html, connect to ws://localhost:8080, and migrate as root when it asks; the root login ends once the migration has run.
- It shows its origin and the relay it's connected to on top, and lists the other relays this browser is logged in to.
- An app links to it with its relay in the fragment,
#relay=…, which never reaches a server; the page then connects to it. - Passkeys need a secure context, so for those serve the folder, such as with
python3 -m http.server, and openhttp://localhost:8000/.