Set up Discord sign-in
Discord credentials stay on your local server. No bot token or extra Discord permissions are needed.
- Open the Discord Developer Portal, create an application and name it Thugware.
- Under OAuth2, copy its Client ID. Reset/copy its Client Secret privately.
- Add the exact callback URI from the admin dashboard setup panel. For local testing it is
http://127.0.0.1:8787/auth/discord/callback; public hosting uses your configured HTTPS domain. - Open Thugware's Extension options and copy its Extension ID.
- Stop the server and edit
.thugware-admin.jsonin the project folder. Keep the existing adminKey/clientKey and add adiscordobject as shown below. Never paste the real client secret into chat, the extension or a public repository. - Restart with
npm run admin. Build the extension for the central origin in config/service.json, then in Extension options click Sign in with Discord.
"discord": {
"clientId": "YOUR_PUBLIC_DISCORD_APPLICATION_ID",
"clientSecret": "YOUR_PRIVATE_DISCORD_CLIENT_SECRET",
"extensionIds": ["YOUR_CHROME_EXTENSION_ID"]
}Each member appears in the admin directory after signing in. Assign a title/color and save. Suspended accounts lose access. Members choose unique nicknames; administrators can edit/lock them, mute chat, remove messages and suspend access. Nicknames and titles are rendered locally for Thugware users only; they do not rename Zoom participants or grant Zoom privileges.
This server is local-only. Members on other computers will need a hosted HTTPS/WSS service in a later deployment.