1.4 KiB
1.4 KiB
type, title, description, tags, timestamp, story_id, status
| type | title | description | tags | timestamp | story_id | status | ||||
|---|---|---|---|---|---|---|---|---|---|---|
| User Story | Enter the account portal through Discord | Direct visitors are guided to the configured Discord community and its account commands. |
|
2026-08-01T18:43:58Z | US-001 | verified |
User Story
As a prospective player, I want the portal to direct me to the community Discord, so that I can begin registration through the trusted entry point.
Acceptance Criteria
- Given an unauthenticated visitor, when they open the portal, then they are told to run
/registeror/accountin Discord. - Given a configured invite URL, when the visitor selects the join action, then the Discord invite opens in a new browser context.
- Given a configured guild ID, when the visitor selects the app action, then a
discord://guild link is opened. - Given an unauthenticated protected-page request, when authorization fails, then the visitor returns to the portal with prominent Discord instructions.
Implementation
apps/web/src/app/page.tsxapps/web/src/lib/auth/user-session.ts- Configuration:
DISCORD_GUILD_ID,DISCORD_INVITE_URL
Validation
Covered by the Next.js production build and protected-route session checks.