O'Reilly logo

ASP.NET Web API Security Essentials by Rajesh Gunasundaram

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required