I am following the official firebase auth tutorials and I keep getting this error for the following code:
const provider = new firebase.auth.GoogleAuthProvider()
firebase.auth()
.signInWithPopup(provider)
.catch((error) => alert(error.message))
.then((data) => console.log(data.user, data.credential.accessToken))
here's my console error:
backend.js:12632 Uncaught (in promise) DOMException: Blocked a frame with origin "http://localhost:3000" from accessing a cross-origin frame.
I do have localhost as whitelisted domain in auth console
Do I need to add the port too? assuming that would help...but any advice would be appreciated. thank you
FYI, I'm using Nuxt (Vue)