Fealist what did you set as your oauth redirect URL in Discord developer settings? It should be <your canonical Flarum URL>/auth/discord
It's been a while since I did it, maybe Discord also require adding the domain to a whitelist somewhere in their settings.
flarum.it probably used an incorrect value in their Discord settings. It doesn't appear to be something caused by the extension itself, but rather a configuration error by the admin.