Add 'Login with GitHub' to Your BowPHP App with SOAuth
· 4 min read
Asking users to invent yet another password is friction you don't need. In this
post we'll add "Login with GitHub" to an existing BowPHP application using
the official bowphp/soauth package — and then persist the
authenticated user so the rest of the app can use it.
The exact same flow works for Google, Facebook, GitLab, Instagram, and LinkedIn: only the credentials change.