I am using the Patreon wordpress plugin to allow visitors to access locked posts. When they complete their login they receive this message
||“Mismatching redirect URI.”
The message comes from this url https://www.patreon.com/oauth2/errors?error=invalid_request&error_description=Mismatching+redirect+URI.&state=eyJmaW5hbF9yZWRpcmVjdF91cmkiOiJodHRwczpcL1wvbWVtYmVycy5wYW5hZnJpY2FuYWxsaWFuY2UuY29tXC93ZWJzaXRlLXJlc291cmNlc1wvIn0%3D
I have used https for all domains. There is no conflict there.
I have copied the redirect url exactly. There is no conflict there either.
I have refreshed my token, updated that info, and still no luck
Does this happen while users are logging in through the log in button in wp-login (or your login page) or anywhere you put a login button/form, or does it happen while users are unlocking posts through the unlock post button?
This only seems to happen when user are unlocking posts. They are able to log in without a problem otherwise
Did you introduce any modification to your site that modifies any redirection by the plugin? Or do you have any redirect mods?
Thanks for the fast responses. I am using a Subway plugin (https://wordpress.org/plugins/subway/) that I need to have for my theme (https://themeforest.net/item/thrive-intranet-community-wordpress-theme/12275020)
Would this cause that problem?
Could. If you can disable that plugin and see if it still happens, it can provide pointers.
You may be serving mixed http:// and https:// urls from your WP site. If you changed your scheme recently, old urls may be available through Google or other search engines or old links over the internet.
Using a plugin to force https:// or http:// and making sure your redirect url in API settings match the protocol would help.