Google+ oAuth and Laravel in 60 seconds
In one of previous tutorials I wrote about Social Sign-in with Socialite Laravel package. Now I will show you how easy it is, to implement new authentication provider in existing project. I noticed that many Laravel users are struggling with Google+ oAuth so I will show you needed steps for connecting Laravel with Google+ oAuth mechanism.
You can find entire code used in this tutorial on Github
First I will visit Google Developers Console and create new project there. After few seconds application is created, and I will visit left sidebar and dropdown APIs & auth. In APIs tab I will select Google+ API and enable it on the next page. Now my application will be able to use Google+ for Sign-in process.
This post is submitted by one of our members. You may submit a new post here.