- Optional Discord OAuth2 login (identify scope), enabled by DISCORD_CLIENT_SECRET, WEB_PUBLIC_URL and SESSION_SECRET; restricted to members of the configured guild, checked at login. - Stateless 30-day session in a signed HttpOnly SameSite=Lax cookie; the OAuth state is checked against its own short-lived cookie. - The jukebox API accepts the key or the session; with the session, changes must come from the site's own origin. The member's server name becomes the uploader name. - GET /auth/me tells the page whether the login is enabled and who is logged in. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| audio.test.js | ||
| auth.test.js | ||
| commands.test.js | ||
| directMessages.test.js | ||
| discordAuth.test.js | ||
| downloadAudio.test.js | ||
| ingest.test.js | ||
| invitation.test.js | ||
| invitationCommand.test.js | ||
| musicQueue.test.js | ||
| serializers.test.js | ||
| storageManager.test.js | ||
| webServer.test.js | ||