Custom social connection icon

Try the theme.authButtons option, like this:

var options = {
  [...] // other Lock options
  theme: {
    authButtons: {
      "connectionName": {
        displayName: "Click me!",
        primaryColor: "#eb5424",
        foregroundColor: "#FFFFFF",
        icon: "https://.../logo.png"
      }
    }
  }
};

More info: GitHub - auth0/lock: Auth0's signin solution and Lock UI Customization

1 Like