Social Login
DeskHive supports social login for the customer portal. Customers can sign in with their existing social accounts instead of creating a password-based account.
Supported Providers
| Provider | Notes |
|---|---|
| Google OAuth 2.0 | |
| Facebook Login | |
| GitHub | GitHub OAuth |
| LinkedIn OAuth 2.0 | |
| X (Twitter) | Twitter OAuth 2.0 |
| Envato | Envato OAuth — ideal for Envato marketplace products |
Setup
Step 1: Configure Providers
Navigate to Admin → Settings → Social Login and enable the providers you want to offer.
For each provider, you need to create an OAuth application on the provider's developer platform and enter the credentials:
Google
- Go to Google Cloud Console
- Create a new project or select an existing one
- Enable the Google+ API or Google Identity
- Create OAuth 2.0 credentials
- Set the authorised redirect URI to:
https://your-domain.com/auth/google/callback - Copy the Client ID and Client Secret into the Social Login settings
Facebook
- Go to Facebook Developers
- Create a new app (select Consumer type)
- Add the Facebook Login product
- Set the valid OAuth redirect URI to:
https://your-domain.com/auth/facebook/callback - Copy the App ID and App Secret into the Social Login settings
GitHub
- Go to GitHub Developer Settings
- Click New OAuth App
- Set the Authorization callback URL to:
https://your-domain.com/auth/github/callback - Copy the Client ID and Client Secret into the Social Login settings
LinkedIn
- Go to LinkedIn Developers
- Create a new app
- Add the Sign In with LinkedIn product
- Set the authorized redirect URL to:
https://your-domain.com/auth/linkedin/callback - Copy the Client ID and Client Secret into the Social Login settings
X (Twitter)
- Go to X Developer Portal
- Create a project and app
- Enable OAuth 2.0
- Set the callback URL to:
https://your-domain.com/auth/twitter/callback - Copy the Client ID and Client Secret into the Social Login settings
Envato
- Go to Envato API
- Create a new application
- Set the Confirmation URL (redirect URI) to:
https://your-domain.com/auth/envato/callback - Copy the App ID and App Secret into the Social Login settings
TIP
For products sold on the Envato marketplace, Envato social login is highly recommended. Customers can sign in with the same account used to purchase, making it easy to verify ownership and reducing account management friction.
How It Works
When a customer clicks a social login button:
- They are redirected to the provider's authorisation page
- After approving access, they are redirected back to DeskHive
- If an account with the same email already exists, they are logged in to that account
- If no account exists, a new customer account is created automatically
Customers who register via social login do not have a password set. They can set a password later from their account settings if they want to enable password-based login.
Customer Experience
Social login buttons appear on the login (/login) and registration (/register) pages. Only providers that are enabled and configured in the Social Login settings are shown.
