404 error authorization error?

Hi!

I’ve been using the Patreon Wordpress plugin for a couple months now without much issue, but today it looks like I cannot connect or reconnect my site to Patreon using the setup wizard. When I click “Let’s start” on the connection screen in Wordpress, I get redirected to a 404 page (page not found).

I’ve tried clearing my cache, deleting and re-adding the Patreon plugin, deactivating other plugins, but nothing has worked. I’ve checked my permalinks, and they are set to pretty permalinks (post name). I tried switching to a different one and back, but the issue persists.

I tried manually creating a client key and adding that to the connection details, but members are still also getting a 404 page not found error when they try to unlock content with Patreon.

Can you help me with fixing this issue? Thank you!

Here is my plugin info:

WP 6.8.2 with PHP 8.2.27
Patreon WordPress 1.9.15 with API v2

2 Likes

On my wordpress site I am also facing the same 404 error

Looks like it’s because the authorization URL is missing a “?” character. My link worked after I added the ? after “authorize”.

Before: patreon[.]com/oauth2/authorizeresponse_type

After (works): patreon[.]com/oauth2/authorize?response_type

I think someone still needs to put in the fix for this in the backend though.

2 Likes

Can you explain where to fix this for a noob like myself? Thanks!

Yeah! What’s the url of your 404 page? It’s probably just missing a “?” that you need to add in there.

Well that’s what I mean, I can’t figure out where to update the url, is it in the Patreon plugin?

Also have the same error. It looks like it’s a bug built into the plugin where the function that creates URLs is leaving out the question mark before the request parameters. It even happens inside my wordpress Patreon plugin backend under “Connection Details” where it says “You can find the app settings at Patreon here”. This needs an immediate fix.

2 Likes

Am having the same issue, using the Codebard plugin on WordPress.

So when your patrons try to click the “Unlock with Patreon” button, it leads them to this broken link right now: patreon[.]com/oauth2/become-patronresponse_type=code

This needs to be fixed to patreon[.]com/oauth2/become-patron?response_type=code (add a ‘?’ character after the “become-patron” string in the url)

Same for when they click the “Refresh” link. Currently, the broken url for that one is patreon[.]com/oauth2/authorizeresponse_type and it needs to be patreon[.]com/oauth2/authorize?response_type (add “?” character after the “authorize” string in the url)

I just manually gave the fixed URL with the “?” to my patrons so they can log in to my site to view content since the ones that the plugin provides are currently broken :sob:. I just copied the links I get from those plugin-provided buttons and then edited them to include the missing “?” and then gave that to my patrons for now as a workaround.

Oh so you didn’t actually like edit the links on the backend?

Thanks for reporting this! This should be fixed now.

Apologies for the disruption! :patreon-blob:

2 Likes