The discussion addresses the urgent need to upgrade the official Discourse Patreon plugin from the deprecated API v1 to the supported API v2. noertap, an engineer on the Patreon team, initiated the thread noting that v1 has been deprecated for years and that v2 offers a more consistent data model. While Falco initially expressed skepticism due to rumors of Patreon abandoning v2 development, noertap clarified that v2 has been the primary API for over five years and provided official documentation confirming v1’s deprecation. Falco volunteered to lead the update, requesting testing credentials. noertap provided detailed instructions for setting up a test campaign and OAuth client. A temporary blocker arose when the Patreon client registration form failed to enable submission Falco, but noertap confirmed a fix had been shipped. Falco successfully tested the changes on a staging site and planned to merge the pull request by Monday. Additionally, noertap requested that the plugin’s user agent be customized to Discourse-Patreon-Plugin/ vX.x to aid in future debugging, a request Falco agreed to include in the update.
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.