V
VWAGOAUTH SETUP
ONE-TIME ADMIN SETUP
Connect Discord login.
VWAG's member portal uses Discord OAuth so every member gets their own garage and watchlist. The bot token is not the OAuth client secret.
1Discord Developer PortalOpen your VWAG application → OAuth2 → copy the Client Secret.
2Railway → vwag-bot → VariablesAdd
DISCORD_CLIENT_SECRET with that secret as the value.3Add the redirectIn Discord OAuth2 Redirects, add your exact Railway domain followed by
/auth/discord/callback.4RedeployRailway should then log
Discord login enabled.DISCORD_CLIENT_SECRET = <Discord OAuth2 Client Secret>
DASHBOARD_BASE_URL = https://your-domain.up.railway.app
Redirect URL:
https://your-domain.up.railway.app/auth/discord/callback
DASHBOARD_BASE_URL = https://your-domain.up.railway.app
Redirect URL:
https://your-domain.up.railway.app/auth/discord/callback