XHRGET https://google-analytics-getIT!!!-projects.vercel.app/data
Trying to display GA4 results with help of a serverless vercel node.js “project”. After running node index.js, cannot authenticate in browser like “http://localhost:3000/auth” (it shows in terminal “No Tokens Available”). Before i could, am also changing the “Authorized redirect URIs” everytime i hit “vercel” in terminal to deploy, with no results.
In GoogleCloud API and Services got this:
Authorized JavaScript origins: “http://localhost:3000”
Authorized redirect URIs:
URIs 1 “http://localhost:3000/auth/callback”
URIs 2 “https://google-analytics-whateverHashAppears-projects.vercel.app//auth/callback”