Discord sign-in and basic accounts
Pull request / title (pull_request) Successful in 1s
CI / test (pull_request) Successful in 1m28s
CI / image (apps/api/Dockerfile, t5de-hub-api) (pull_request) Skipped
CI / image (apps/web/Dockerfile, t5de-hub-web) (pull_request) Skipped

Discord sign-in makes a basic account (Discord's verified email, no username
or password) for T5DE's other sites; it finishes setting up with a username
and password to use the hub. Implicit linking by email is off; members link
Discord from their account page. Better Auth 1.7.26.
This commit is contained in:
dhkatz committed 2026-11-19 01:11:51 -08:00
1 parent a66a3a4b6a
commit f0a9661f8e
24 files changed
+5214 -173

No files matched your search

+5
View File
@@ -11,6 +11,11 @@ payments in [docs/payments.md](docs/payments.md).
- **Accounts** (Better Auth): sign-up with email, username and password; sign-in by username. The first account is
an admin; roles user, moderator, admin. Registration open or closed (new accounts wait for a moderator's
approval): an admin's setting in the console, defaulting to the API's `REGISTRATION`.
- **Discord sign-in** (when `DISCORD_CLIENT_ID` and `DISCORD_CLIENT_SECRET` are set; Discord redirects to
`<API_URL>/api/auth/callback/discord`): the first time it makes a basic account (Discord's verified email,
no username or password) for T5DE's other sites, such as Music (docs/music.md); it finishes setting up
with a username and password to use the hub. Members link Discord from their account page. Accounts are
never linked by matching email.
- **Linking IMVU accounts**: the person puts a code in the account's tagline; the hub reads it from IMVU's public
API. The most recent proof wins (an account linked elsewhere moves, with a new pairwise ID). Link caps per person
(default 10).