Patreon login stopped working all the sudden

Hi, I have a login option on my website that allows people to login with patreon, but it stopped working all the sudden. When clicking on Patreon login it would bring up this page, and if you click allow it takes you back to my website without logging you in. Do you know how I could fix this?

1 Like

I’ve reconnected the site 4 times now hoping that would fix the login issue but it didnt and Im getting these errors
These are the last 50 connection issues encountered by your site when contacting Patreon API. These are here for general info on health of the connection of your WP site to Patreon API. They only constitute an error if there are a lot of recent ones. Healthiest integrations should have a number of them (up to 50) in the long run.

0.93 days ago

fetch_tiers - API v2 Class - UUID ade0986f-891a-5c4f-b7dd-e798ce47d5fc - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“ade0986f-891a-5c4f-b7dd-e798ce47d5fc”,“status”:“401”,“title”:“Unauthorized”}]}

0.93 days ago

delete_client - API v2 Class - UUID ace4d18c-b654-5687-95c1-49948211c08d - Response code: 204 Response :

0.94 days ago

fetch_creator_info - API v2 Class - UUID 84866cdb-6c43-506c-9724-6a637cb40c53 - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“84866cdb-6c43-506c-9724-6a637cb40c53”,“status”:“401”,“title”:“Unauthorized”}]}

0.94 days ago

delete_client - API v2 Class - UUID a184d12a-10f6-5cb4-aa63-b094804a6926 - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“a184d12a-10f6-5cb4-aa63-b094804a6926”,“status”:“401”,“title”:“Unauthorized”}]}

0.94 days ago

delete_client - API v2 Class - UUID 01c496a8-dfcb-5600-97a7-308b60767230 - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“01c496a8-dfcb-5600-97a7-308b60767230”,“status”:“401”,“title”:“Unauthorized”}]}

0.94 days ago

delete_client - API v2 Class - UUID b3678544-50bd-5e8b-9f42-f7860933c3f0 - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“b3678544-50bd-5e8b-9f42-f7860933c3f0”,“status”:“401”,“title”:“Unauthorized”}]}

0.94 days ago

delete_client - API v2 Class - UUID 3902f6a8-f21b-52c6-b8af-be4581047151 - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“3902f6a8-f21b-52c6-b8af-be4581047151”,“status”:“401”,“title”:“Unauthorized”}]}

0.95 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.95 days ago

fetch_creator_info - API v2 Class - UUID 51130a23-c22c-5e68-a2c5-e6d123e21704 - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“51130a23-c22c-5e68-a2c5-e6d123e21704”,“status”:“401”,“title”:“Unauthorized”}]}

0.95 days ago

delete_client - API v2 Class - UUID 51e7b3d8-1a5d-5680-bc1e-8643c0a691c4 - Response code: 204 Response :

0.96 days ago

delete_client - API v2 Class - UUID 636b6303-5c3a-5c17-bec7-a3def5c96649 - Response code: 204 Response :

0.96 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.96 days ago

fetch_creator_info - API v2 Class - UUID 7161478e-ce62-5a54-8cc0-5a0ca60591cd - Response code: 401 Response :{“errors”:[{“challenge_metadata”:null,“code”:1,“code_name”:“Unauthorized”,“detail”:“The server could not verify that you are authorized to access the URL requested. You either supplied the wrong credentials (e.g. a bad password), or your browser doesn’t understand how to supply the credentials required.”,“id”:“7161478e-ce62-5a54-8cc0-5a0ca60591cd”,“status”:“401”,“title”:“Unauthorized”}]}

0.96 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.96 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.96 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

0.96 days ago

Response code: 401 Response :{“error”: “invalid_grant”}

Looks like everything on the integration is working, but the login feature.
Also, it adds the user to WordPress if it doesn’t exist.
However, when the plugin tries to programmatically login the user, nothing happens… looks like the auth cookies are not set

wp_set_current_user( $user->ID, $user->user_login );
wp_set_auth_cookie( $user->ID );
do_action( ‘wp_login’, $user->user_login, $user )

This is likely related to some situation at your site. You may want to check if any other plugin modifies the login process or cookies in any way. Also, site, host or CDN caching may be culprits.