Introduction
Imagine you want to sign up for a new website quickly without creating a new password. OAuth social login integration solves this by letting you use your existing accounts from popular platforms to log in safely and easily.
Imagine you want to enter a concert but don’t have a ticket for this event. Instead, you show a special pass from a trusted friend who already has a ticket. The concert staff checks with your friend and lets you in without needing your own ticket.
┌───────────────┐ 1. Request Authorization ┌───────────────┐ │ │─────────────────────────────────────▶│ │ │ User │ │ Social Login │ │ Website │◀────────────────────────────────────│ Provider │ │ │ 2. User Grants Permission │ │ └───────────────┘ └───────────────┘ │ │ │ │ │ 3. Receive Access Token │ │◀───────────────────────────────────────────────────│ │ │ │ 4. Request User Data │ │──────────────────────────────────────────────────▶│ │ │ │ 5. Receive User Data │ │◀───────────────────────────────────────────────────│ ▼ ▼ User Logged In Social Login on Website Provider