OAuth with Angular, Lumen, Socialite, and Satellizer

Barry vd. Heuvel has a tutorial out on how to setup OAuth in Javascript Apps with Angular and Lumen, using Satellizer and Laravel Socialite.

In the post, Barry shows you how to:

  • Should work on every device, so on a regular domain, but also on a hybrid Android/iOS app (using Cordova)
  • Use both OAuth 1 (Twitter) and OAuth 2 (Facebook/LinkedIn etc)
  • Get profile information from Socialite.
  • Authenticate users using JWT (JSON Web Tokens)