Skip to main content

LinkedIn Social Login

Enable one-click WiFi authentication using LinkedIn credentials on your captive portal, ideal for capturing professional contacts at business venues and conferences.

Overview

LinkedIn social login provides:

  • Professional authentication - Verify business guests
  • Profile data collection - Capture professional information
  • Frictionless access - One-click login
  • Lead generation - Collect business contacts

Prerequisites

  • IronWifi account with captive portal
  • LinkedIn Developer account
  • LinkedIn App configured for OAuth 2.0

LinkedIn App Setup

Create LinkedIn App

  1. Go to LinkedIn Developer Portal
  2. Click Create app
  3. Fill in app details:
    • App name: Your WiFi network name
    • LinkedIn Page: Select or create company page
    • App logo: Upload your logo
    • Legal agreement: Accept terms
  4. Click Create app

Configure OAuth 2.0

  1. In your app, go to Auth tab
  2. Under OAuth 2.0 settings:
    • Add Authorized redirect URLs:
      https://splash.ironwifi.com/api/linkedin/callback
  3. Note your credentials:
    • Client ID
    • Client Secret

Request Permissions

  1. Go to Products tab
  2. Request access to Sign In with LinkedIn using OpenID Connect
  3. Wait for approval (usually instant for basic profile)

IronWifi Configuration

Step 1: Add LinkedIn Provider

  1. Log in to IronWifi Console
  2. Navigate to Networks > Captive Portals
  3. Select your captive portal
  4. Go to Authentication Providers
  5. Click Add Provider > LinkedIn

Step 2: Enter Credentials

Configure LinkedIn OAuth:

  • Client ID: Your LinkedIn Client ID
  • Client Secret: Your LinkedIn Client Secret
  • Redirect URI: Pre-filled by IronWifi

Step 3: Configure Permissions

Select data to request:

  • Profile (default): Name, profile picture
  • Email (recommended): Email address
  • Position: Current job title and company

Authentication Flow

  1. Guest connects to WiFi
  2. Captive portal displays login options
  3. Guest clicks "Sign in with LinkedIn"
  4. Redirected to LinkedIn authorization
  5. Guest approves access
  6. Redirected back to captive portal
  7. WiFi access granted

Splash Page Integration

LinkedIn Button

Add LinkedIn sign-in button:

<a href="{{linkedin_auth_url}}" class="social-btn linkedin">
<img src="linkedin-icon.svg" alt="LinkedIn">
Sign in with LinkedIn
</a>

<style>
.social-btn.linkedin {
background: #0077B5;
color: white;
padding: 12px 24px;
border-radius: 4px;
text-decoration: none;
display: inline-flex;
align-items: center;
gap: 8px;
}
</style>

Multiple Social Options

Offer multiple authentication methods:

<div class="social-login">
<h3>Sign in with</h3>
<a href="{{linkedin_auth_url}}" class="social-btn linkedin">LinkedIn</a>
<a href="{{google_auth_url}}" class="social-btn google">Google</a>
<a href="{{facebook_auth_url}}" class="social-btn facebook">Facebook</a>
</div>

Data Collection

Available Profile Data

LinkedIn provides (based on permissions):

FieldDescription
idUnique LinkedIn ID
firstNameFirst name
lastNameLast name
profilePictureProfile photo URL
emailAddressPrimary email
headlineProfessional headline
positionsWork history

Data Usage

Collected data can be:

  • Stored in IronWifi user records
  • Exported for CRM integration
  • Used for analytics
  • Synced to marketing platforms

Lead Generation

CRM Integration

Export LinkedIn data to your CRM:

  1. Configure webhook in IronWifi
  2. Send authentication data to CRM
  3. Create leads automatically

Webhook Payload

{
"event": "authentication",
"provider": "linkedin",
"user": {
"linkedin_id": "abc123",
"email": "user@company.com",
"first_name": "John",
"last_name": "Doe",
"headline": "Software Engineer at Tech Corp",
"company": "Tech Corp",
"profile_url": "https://linkedin.com/in/johndoe"
},
"session": {
"mac_address": "AA:BB:CC:DD:EE:FF",
"network": "Conference WiFi",
"timestamp": "2024-01-15T10:30:00Z"
}
}

Analytics

Track LinkedIn Logins

Monitor in IronWifi console:

  • LinkedIn authentication count
  • User demographics
  • Company information
  • Login success rates

Integration with Google Analytics

Track social login events:

// On successful LinkedIn auth
gtag('event', 'login', {
method: 'LinkedIn'
});

Use Cases

Conference WiFi

Perfect for business events:

  • Verify attendee identity
  • Collect professional contacts
  • Network with attendees
  • Generate leads for sponsors

Co-working Spaces

Professional environment authentication:

  • Verify members
  • Track usage patterns
  • Professional networking

B2B Venues

Hotels, airports, business centers:

  • Business guest verification
  • Lead generation
  • Premium service identification

Troubleshooting

"App Not Authorized"

  1. Verify LinkedIn app is approved
  2. Check OAuth 2.0 settings
  3. Confirm redirect URI matches exactly
  4. Verify permissions are granted

User Data Not Captured

  1. Check permission scopes
  2. Verify field mapping in IronWifi
  3. User may have restricted profile visibility
  4. Some data requires additional permissions

Login Loop

  1. Clear browser cookies
  2. Verify redirect URI configuration
  3. Check for JavaScript errors
  4. Test in incognito mode

Privacy Considerations

Transparency

Inform users what data is collected:

<p class="privacy-notice">
By signing in with LinkedIn, you agree to share your name
and email address for WiFi access.
<a href="/privacy">Privacy Policy</a>
</p>

Data Retention

  • Store only necessary data
  • Implement retention policies
  • Allow data deletion requests
  • Comply with GDPR/CCPA