Discord bot help
Archived a year ago
B
Marchess
Verified
its related to discord
Discord's QR code login system, similar to what you see on discord.com/login, but programmatically.
When a user scans the QR code from their mobile device, it triggers an authentication flow through Discord's WebSocket gateway. Our code generates the QR code, establishes a WebSocket connection, and handles the entire authentication process. When the user scans the QR code, Discord sometimes requires a CAPTCHA verification before completing the login. Our code uses 2captcha service to solve these CAPTCHAs automatically. However, Discord's authentication tickets (which are like temporary session tokens) have a short expiration time. The main challenge was that by the time we solved the CAPTCHA, the original authentication ticket would expire, causing the "invalid remote authentication ticket"
