Introduction In this article, we learn about how to login using Google OAuth 2.0 with C#(.NET) or Authenticate Google API in Dot Net. Description As we know Google OAuth 2.0 requires ClientId and ClientSecret before we proceeding to further step. So, first of all, we have to generate ClientId and ClientSecret from Google Developer Console by creating credential or generating a credential for Web Application or from Native Application. I hope you have google account already if not then first create one before proceeding further. Step 1: Create Credential for OAuth App. Select credential type OAuth ClientID Step 2: Select appropriate application type from the available option, Here I have choosed "Other". Select application type Based on where we are using login with google account we can select an application type. Here I have used "other" which works for a console app, Web application hosted on localhost as well as on all doma
Comments
Post a comment