I'm trying to link my discord to CelesteNet. On the following site (https://celestenet.0x0a.de/) when I try to link discord it says Error: Can't obtain token from discord
#celeste net can't link discord
14 messages · Page 1 of 1 (latest)
@green tangle
uhhhhh what does this mean
I've never really seen OAuth2 mess up like this unless the exchange was fundamentally broken...
Maybe some over-zealous adblock or firewall?
Actually which part fails... I guess the part where the cnet server contacts discord servers? Could be some one-time hiccup too.
If you'd been a little more than 5 minutes earlier I wouldn't already have put my PC to sleep and headed to bed but that's not your fault
Now I kinda wanna go check server logs, idk if it logged anything useful on these

🏓 reminder to check server logs
ye, thamks 
(11/10/2023 23:17:09) [CRI] [frontend-discordauth] Failed to obtain token: {
"error": "invalid_grant",
"error_description": "Invalid \"code\" in request."
}

Sadly idk what the code parameter supplied by the client was tho, if it was missing or malformed, or maybe the URL was requested twice
@fresh cove When you go back to https://celestenet.0x0a.de/ you aren't "logged in" there, it doesn't know your discord, right? Or have you had any success since?
it's also strange that the error always appears twice in the log, at least in the hour or so before this, presumably all attempts by you... dunno what's causing that. I still somewhat suspect something in the browser messing with parameters or requests, but you'd have to maybe take a look at what's happening with Dev Tools, Network monitor tab 