Problem with OAuth (Google) using BetterAuth with Express for backend and Next.js Frontend

Hi! Does anyone know how to resolve this? It's Express on the backend and Next.js on the frontend. The error appears in Express after continuing the authentication with Google

# SERVER_ERROR:  SyntaxError: Expected ',' or '}' after property value in JSON at position 191
    at JSON.parse (<anonymous>)
Was this page helpful?