Firebase auth twitter social login not works

4 views
Skip to first unread message

Larry Neil Mcgowen

unread,
Jul 2, 2024, 10:26:28 PM (3 hours ago) Jul 2
to Firebase Google Group
I am working on integrating Twitter login with firebase auth.
I referenced this doc: 
https://firebase.google.com/docs/auth/web/twitter-login
But I have an error in twitter login with firebase auth.
If I run this code when click on the signin button, 
```

const provider = new TwitterAuthProvider();

    signInWithPopup(auth, provider)

    .then ((result) => {})

    .catch((error) => {}) 

```
It opens a popup dialog and it shows me this kind of error.
Attached the error screenshot.

Let me share the project with you.
https://github.com/larry-neil-1206/firebase-twitter-auth

I am not sure what is wrong.

I am very appreciate for your help.

Screenshot 2024-07-02 at 7.20.56 PM.png
Reply all
Reply to author
Forward
0 new messages