[Archive] About Facebook Login

:classical_building: Archived Content from Web3Auth Community

This topic was originally posted by tushar.sharma on 6/26/2024.
This content has been migrated from our previous community forum to preserve valuable discussions.


Hello, need your help.
I am Facing issue with Openlogin Adapter facebook login.
on connect i get redirected to facebook page where i have to authorise web3auth and then i get error.
i have double checked the web3AuthNetwork is sapphire_devnet in adaptor config.

Screenshot 2024-06-25 at 6.42.07 PM
Screenshot 2024-06-25 at 6.42.07 PM1187×602 36.8 KB

Hey @tushar.sharma welcome onboard, from the error it looks like you have not whitelisted your domain. You can whitelist the domain for your project in the Web3Auth dashboard.

project-whitelist-ec0210471c902c254ff14a90813adfd3
project-whitelist-ec0210471c902c254ff14a90813adfd31840×1191 219 KB

We also have a whitelisting documentation, which you can checkout.

@Ayush
Yes i did.
Also it is working for other verifiers like google and PasswordlessEmail
i think it has problem with facebook

Also sometimes it shows this error

image
image1153×698 15.6 KB

Oh, so after whitelisting it doesn’t work for Facebook only? I’ll try and reproduce that. For the image that you have shared, you click on the error icon on top right corner and copy the error. That will help to debug.

I tried login in with Facebook at demo.web3auth.io, and it worked fine for me. Can you make sure you are using the same client id and network as soon in your Web3Auth project?

QImage
QImage1865×772 157 KB

I Button Error