Facebook Social Login does not show up

Hello,

This is a custom login form where I want to add Facebook Login.

image

FB is enabled, but does not show up on the custom login form.

How can I do that?

Hi @mikamanelka

Thanks for getting in touch with us at Auth0 Community.

I’m assuming you created your custom login form by going to Auth0 Dashboard > Branding > Universal Login > Advanced Options > Login tab:

If so, as well as enabling the connection, you need to add it to the custom login form e.g something like the below

<button
      type="button"
      id="btn-facebook"
      class="btn btn-default btn-danger btn-block">
        Log In with Facebook
 </button>

...

This should add the button but you also need to create the js function to fire the connection when the button is clicked etc, maybe you can see how the Google connection is set up and copy that format.

This should then make the button appear and operational.

Warm regards.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.