Specifying custom social connections logo is not available

Hi!

I have added a custom social connection to GitLab. But the problem is that just default Auth0 logo displays in place of GitLab option on the login screen. How could I customize it? I haven’t found a way to do it. I know there is a similar topic Custom social connection icon, but I could not find a way to specify custom options for a lock screen when I am logged into Auth0 console.

Any help is appreciated,
Thanks!

Hi @altern,

Welcome to the Auth0 Community!

I understand that you’re looking for a way to add a logo to your GitLab custom social connection.

To do so, you’ll need to specify the icon in the authButtons object for the GitLab social connection in your Custom Login Page:

var options = {
  [...] // other Lock options
  theme: {
    authButtons: {
      "YOUR_CONNECTION_NAME": {
        displayName: "GitLab",
        primaryColor: "#3d85c6",
        foregroundColor: "#FFFFFF",
        icon: "https://.../logo.png"
      }
    }
  }
};

Please let me know if you have any further questions. I’d be happy to help.

Thank you.