![]() Now let's click the Credentials after creating the project or the selected project. And just select your current project name created previously. NOTE: If you have a project already you can skip the above steps. Then input your project name and organization (you can set it as No organization) then click CREATE. Then click the CREATE PROJECT to continue. Just check the Terms of service then click Agree and Continue. But if you have an existing Google app you can skip this, if not then visit this link Google Developers Console then follow the screen below:Īs you can see there is a pop-up box. To work our Google social login we need to create Google App and get the credentials and attach it to our project. Now let's install our Laravel Socialite package. Step 3: Install Laravel Socialite Package ENV credentials.ĭB_PASSWORD=your_db_password_leave_blank_if_no_password So go to your PHPMyAdmin if you have or database management app then creates a new database. Then let's run another command to generate the project key. Let's sure to run the command below to copy the. NOTE: Before running the command above and other commands of this tutorial you need to open it in the terminal and point it with your project directory. Then let's run the following command I expect that you have a basic knowledge about running composer for your Laravel project. Once done copy the folder inside your htdocs folder if you are using Xampp.Īfter the folder is already inside the htdocs. To shorten this tutorial we need to clone my code about Laravel 9 login just copy the repo link below: ![]() Step 1: Clone my previous User Authentication ![]() It comes with a complete tutorial so that you will learn step by step how to implement the social login in Laravel 9. So we need to add this feature so that they just click and connect their Google account and log in directly to our system. Sometimes our users are lazy to log in with their system credentials. In this tutorial, I will show you how to add a Laravel 9 socialite login with a Google account.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |