@codebard I also confirm that the error continues today (I tested at UTC-3 11:30)
To test it, just try to log in with the Patreon account in this forum, for example.
Below is a video of the error when trying to log in to the forum:
In my NEXTJS application, I am getting the following logs when I try to authenticate:
CREATE_STATE [{"value":"gN8oIxcPI5LC9ZyQh7WRK7yT4oJM8bzFrwE6Fnmm58Q","maxAge":900}]
GET_AUTHORIZATION_URL [{"url":"https://www.patreon.com/oauth2/authorize?client_id=my_client_id&scope=identity%20identity%5Bemail%5D%20identity.memberships&response_type=code&redirect_uri=http%3A%2F%2Flocalhost%3A3000% ":{"httpOnly":true,"sameSite":"lax","path":"/","secure":false,"maxAge":900,"expires":"2023-03-29T14:31: 19.290Z"}}],"provider":{"id":"patreon","name":"Patreon","type":"oauth","version":"2.0","authorization":{" url":"https://www.patreon.com/oauth2/authorize","params":{"scope":"identity identity[email] identity.memberships"}},"token":{"url": "https://www.patreon.com/api/oauth2/token", "params":{}},"userinfo":{"url":"https://www.patreon.com/api/oauth2/api/current_user","params":{}},"style":{ "logo":"/patreon.svg","logoDark":"/patreon.svg","bg":"#fff","text":"#e85b46","bgDark":"#000"," textDark":"#e85b46"},"idToken":false,"checks":["state"],"clientId":"my_client_id","clientSecret":"my_client_secret","signinUrl":"http:// localhost:3000/api/auth/signin/patreon","callbackUrl":"http://localhost:3000/api/auth/callback/patreon"}}]
OAUTH_CALLBACK_ERROR [{"error":{"name":"OAuthCallbackError","message":"expected 200 OK, got: 401 Unauthorized","stack":"OPError: expected 200 OK, got: 401 Unauthorized\n at processResponse (C:\\FW\\Repos\\patreon-rewards\\node_modules\\openid-client\\lib\\helpers\\process_response.js:41:11)\n at Client.userinfo (C:\\FW \\Repos\\patreon-rewards\\node_modules\\openid-client\\lib\\client.js:1237:18)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async oAuthCallback (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next-auth\\core\\lib\\oauth\\callback.js:131:17)\n at async Object. callback (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next-auth\\core\\routes\\callback.js:52:11)\n at async AuthHandler (C:\\FW \\Repos\\patreon-rewards\\node_modules\\next-auth\\core\\index.js:201:28)\n at async NextAuthHandler (C:\\FW\\Repos\\patreon-rewards\\ node_modules\\next-auth\\next\\index.js:24:19)\n at async C:\\FW\\Repos\\patreon-rewards\\node _modules\\next-auth\\next\\index.js:60:32\n at async Object.apiResolver (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\ server\\api-utils\\node.js:372:9)\n at async DevServer.runApi (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\server\ \next-server.js:488:9)\n at async Object.fn (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\server\\next-server. js:751:37)\n at async Router.execute (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\server\\router.js:253:36)\ n at async DevServer.run (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\server\\base-server.js:384:29)\n at async DevServer. run (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\server\\dev\\next-dev-server.js:743:20)\n at async DevServer. handleRequest (C:\\FW\\Repos\\patreon-rewards\\node_modules\\next\\dist\\server\\base-server.js:322:20)"},"providerId":"patreon"} ]
I also created a site that only has patreon authentication for testing (https://test-patreon.vercel.app).
In this video, I can authenticate to this test site on the second try: