JSON parse error with oidcProvider and oidcClient()?

I'm encountering a weird error. I have two services, a vite/hono app serving as the oidc provider, and then a nextjs app serving as a client. Whenever I open up the vite/hono app and sign in to the oauth service, and then try to use the sign in button on the nextjs app, I encounter this error.

[0] # SERVER_ERROR:  955 |             throw new APIError("UNAUTHORIZED", {
[0] 956 |               error_description: "client is disabled",
[0] 957 |               error: "invalid_client"
[0] 958 |             });
[0] 959 |           }
[0] 960 |           const value = JSON.parse(
[0]                                    ^
[0] SyntaxError: JSON Parse error: Unterminated string


Which throws Error Code: oauth_code_verification_failed on the website.
Was this page helpful?