The Patreon Discourse plugin is still using Patreon’s API v1, which has been deprecated for several years. To keep the integration working properly, it needs to be updated to use API v2.
Patreon’s API v2 is the supported version and provides equivalent functionality to v1, along with a more consistent data model and improved resource relationships.
Docs:
I wanted to follow up on this topic. Is this plugin still being actively maintained, or should we assume it is inactive and accept that the termination of the v1 API will result in the plugin no longer working?
Thanks for getting back on this! Source on this - I’m an engineer on the Patreon team. Our public documentation and client creation flow have callouts about v1 deprecation. V2 has been the main API for about 5+ years, discourse is one of the last integrations that still isn’t using it.
EDIT: Feel free to DM or email (in case I don’t get notifications from discourse) if y’all need additional information.
Only creators are allowed to create OAuth clients. You would need to launch your creator campaign by visiting https://patreon.com/create (email has to be verified to consider the campaign launched).
To test access gating / membership features you would create a separate test account. You could then either pledge to the free tier of your test campaign or potentially grant a gifted membership from the creator.
I’m happy to respond pair up / help you over DMs next week.
Not related to a v2 upgrade, but a general ask while you are putting up this PR - could you please set the user agent to a custom value? Something like Discourse-Patreon-Plugin/vX.x? That might help us debug API issues in the future and identify clients. For the v1 deprecation I saw a bunch of Faraday UAs and that’s how I landed on Discourse being one of the remaining v1 apps.