Sign in to Contensio with Google, GitHub, Facebook, or Microsoft accounts.
Social Connect is the first official Contensio plugin. It demonstrates how plugins extend the admin panel with their own UI (login buttons, profile sections, settings pages) without modifying core files.
composer require contensio/plugin-social-connectThen in the Contensio admin: Plugins → Enable next to "Social Connect". Migrations run automatically on enable.
- Download the latest release ZIP from github.com/contensio/plugin-social-connect/releases
- In Contensio admin: Plugins → Install Plugin → upload the ZIP
- Click Enable
Both paths produce the same result.
After enabling the plugin:
- Go to Configuration → Social Connect
- For each provider you want to enable (Google / GitHub / Facebook / Microsoft):
- Copy the Redirect URL from the settings page
- Create an OAuth app at the provider's developer console, pasting in that Redirect URL
- Copy back the Client ID and Client Secret
- Toggle Enabled on, save
- "Continue with Google" (etc.) buttons appear on the login screen
| Provider | Where to create an OAuth app |
|---|---|
| console.cloud.google.com → OAuth 2.0 Client IDs | |
| GitHub | github.com/settings/developers → OAuth Apps |
| developers.facebook.com/apps | |
| Microsoft | portal.azure.com → Microsoft Entra ID → App registrations |
- Sign-in only for existing users. Social Connect does not auto-register new Contensio users. If the provider's email doesn't match an existing Contensio account, sign-in is rejected with a friendly error. Administrators create users in Users → Add User first.
- Email matching. When a user signs in with Google for the first time, Contensio looks up their email in the
userstable. If it matches an existing active account, the social identity is linked automatically - subsequent sign-ins go straight through. - 2FA still applies. Users with 2FA enabled are still challenged for a code after social sign-in. Social Connect is not a 2FA bypass.
- Disabled accounts (
is_active = false) are rejected.
From Profile → Linked accounts, users can:
- Connect an additional provider to their existing account
- Unlink a provider they no longer want to use
A provider can only be linked to one Contensio account at a time.
Social Connect ships with:
- A new table
social_logins(created on plugin enable) - Routes at
/login/{provider}and/login/{provider}/callback - An admin settings page at
/admin/settings/social-connect - A Configuration hub card
- Login-page provider buttons
- Profile-page "Linked accounts" card
All of the above is injected via Contensio's Hook system - zero modifications to core files.
AGPL-3.0-or-later. Copyright © 2026 Iosif Gabriel Chimilevschi. Social Connect is operated by Host Server SRL.