Error while trying to authorize your account with Patreon

Hi,

I’m using the Discourse Patreon plugin and have run into an issue. The integration works perfectly for users who have the same email address on both Discourse and Patreon – they can link their accounts and get the correct group/benefits.

However, for users who have a different email on Patreon and Discourse, when they try to link their Patreon account via the “Connect” button in their Discourse profile, they get this error after authorizing on Patreon:

Sorry, there was an error while trying to authorize your account with Patreon. Please try again.

This happens regardless of device or browser.

Important: The plugin is otherwise working – users with matching emails are paired and get their benefits, so Client ID, Secret, and Redirect URI are all set up correctly.

What I’ve tried:

  • Manual group assignment (gets removed by sync)
  • Rechecking all plugin and Patreon app settings
  • Testing on multiple devices and browsers

Is there a way to allow users with different emails to link their Patreon account to their existing Discourse account, or at least to avoid this error?

Any advice or best practices would be greatly appreciated!

Thanks!