Social connectors
Simplify user onboarding and increase conversion rates by enabling social login with Logto. Users can quickly and securely sign in using their existing social media accounts, eliminating the need for password creation or complex registration flow. Logto offers a variety of pre-built social connectors and supports custom integrations for maximum flexibility.
Choose your social connectors
Logto offers two types of social connectors:
Popular social connectors
Logto provides pre-configured connectors for popular social platforms, ready for immediate use.
The Google connector provides a succinct way for your application to use Google's OAuth 2.0 authentication system.
The Facebook connector allows your application to use Facebook's OAuth 2.0 authentication system.
The official Logto connector for Apple social sign-in.
The Microsoft Azure AD connector provides a succinct way for your application to use Azure's OAuth 2.0 authentication system.
The official Logto connector for GitHub social sign-in.
The Discord connector provides a way for your application to use Discord as an authorization system.
And more...
Customize your social connectors
For custom requirements, utilize OAuth 2.0 and OIDC (OpenID Connect) standards to integrate your preferred provider.
The official Logto connector for OAuth 2.0 protocol.
The official Logto connector for OAuth 2.0 protocol.
If our standard connectors don't meet your specific requirements, don't hesitate to contact us. For OSS users, you can implement your connector (OSS) if the requirement is in urgent. We always welcome contributions; your effort could very well help other community members with the same needs.
Configuration steps
- Navigate to Console > Connectors > Social Connectors.
- Click "Add social connector" and select the desired type.
- Follow the README guide and complete required fields and customize settings.
- Click "Save and Done" to finish.
- Test the connector by initiating a social sign-in.
Please note the following settings:
- Identity provider name: Each social connector has a unique Identity Provider (IdP) name to differentiate user identities. While common connectors use a fixed IdP name, custom connectors require a unique value. Learn more about IdP names for more details.
- Sync user profiles: Choose when to synchronize user profile information (e.g., avatar, username). The default is to "sync only upon registration". "sync at each sign-in" is an alternative but may overwrite custom user data.
Enable social sign-in
Once you create a social connector successfully, you can enable it as a Social login button (e.g., Continue with Google) in Sign-in Experience.
- Navigate to Console > Sign-in experience >Sign-up and sign-in.
- (Optional) Choose "Not applicable" for sign-up identifier if you need social login only.
- Add configured social connectors to the "Social sign-in" section.
- Reorder connectors as needed.
- Click "Save changes" and test the "Live preview".
Refer to Social sign-in to learn about the details.