![]() ![]() Switch to our newly project by clicking the droprown of project that is displayed in the navbar above, click the project and click “Open” button. Wait until project successfully created Step 3: Switch to the Project Step 2: Create a ProjectĬlick the dropdown that circled above, and then click “New Project”įill the detail about your project, here is the example and then click “Create”. This is how the page looks when this article is written. Create Google API Credentials Step 1: Open the Credentials Pageīy visiting Google APIs console. We can get those credentials by creating Google API Credentials in Google APIs Console. For Google, we need to have GOOGLE_CLIENT_IDĪnd GOOGLE_CLIENT_SECRET for our web. Typically we need credentials for OAuth providers we use. Installation Laravel Installationįirst you want to install a Laravel app first. This time I will share about how we can make Google OAuth login using Laravel Socialite. Currently Socialite supports authentication via some well-known platform like Facebook, Twitter, LinkedIn, Google, GitHub, GitLab, and Bitbucket. Laravel provides a package to authenticate with OAuth providers using Laravel Socialite. This can make granting access to our website easier and more secure for user rather than to create an account on our website. With OAuth we can login to websites or applications using other website or application account without giving or creating new passwords. There is a technology called OAuth (Open Authorization), it is an open standard for access delegation. This can be used as our advantage if we can provide a one-click login feature by using Google account, without making users to fill data manually that can be take about 5 minutes before they can use our website. Google is one of the most widely used platform by people around the globe. ![]() And maybe sometimes our websites also need to easily gain more engagement by eliminating a bit hassle by letting users login to the web easily using their other platform account. For some webs, authentication is one of the most important thing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |