Laravel Tutorials

OAuth with Angular, Lumen, Socialite, and Satellizer

Published

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)
Eric L. Barnes photo

Eric is the creator of Laravel News and has been covering Laravel since 2012.

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
Volker Dusch on the PHP RCE Vulnerabilities and Disclosure image

Volker Dusch on the PHP RCE Vulnerabilities and Disclosure

Read article
Decide with Jev: Turn AI Answers into Decisions with PHP Rules image

Decide with Jev: Turn AI Answers into Decisions with PHP Rules

Read article
Skuul: Open-Source School Management Built on Laravel image

Skuul: Open-Source School Management Built on Laravel

Read article
Laravel Read Replicas: Prevent Stale Reads After a Write image

Laravel Read Replicas: Prevent Stale Reads After a Write

Read article
Screenshot: Capture Images and PDFs with PHP and Laravel image

Screenshot: Capture Images and PDFs with PHP and Laravel

Read article
Reset Sticky Database Connections Between Laravel Queue Jobs image

Reset Sticky Database Connections Between Laravel Queue Jobs

Read article