Posts

Implementing Google account authentication in ASP.NET MVC

Image
Step 1:  Create a Google OAuth application To create it please follow the steps below : Go to  https:// console.developers.google.com , login with your Gmail id. Click on ‘Select a Project’ dropdown at left top of the page. Click on ‘Create project’ button, Enter project name and create project. Click Credentials on the left navigation. Click Create Credentials > OAuth ClientID, fill the form and submit. Client ID and Client Secrete will be created on successful creation of application. This will be used in Authorization process. Step 2:  Configuring your Google application Login to   https:// console.developers.google.com Select your created application and click on edit. Enter the ‘Authorized redirect URL’. Click on ‘Save button. Now your application created and configured. Step 3:  Creating visual studio application Create empty Asp.Net MVC application and add controller. In ‘Home View’ create one action link like b...