The error “Missing state from oauth provider” means the state parameter is missing or not transmitted correctly during OAuth authentication. While Discord does not require it (see here: Discord Developer Portal), it’s recommended for security.

If Discord doesn’t require it but you still get this error, it might be because your application (or the API) expects the parameter, or there may be an implementation issue.