Implementing Google authentication

So far we have seen how to integrate external authentication using social media websites such as Facebook and Twitter. Now let's see how to integrate Google authentication. We need to create a project and a create client ID and secret key in the Google developer console and this client ID and secret key should be configured in our application.

Follow the given steps to get the client ID and secret key value from the Google developer console for your application:

  1. Log in to your Google account (https://www.google.com/).
  2. Open the Google developer console site (https://console.developers.google.com/).
  3. Click Create Project:

    Fig 21 –Creating Project in Google developer console

  4. Enter the Project Name and click the Create ...

Get ASP.NET Web API Security Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.