/googleAuthentication-.Net6

google authentication in .net 6.0

Primary LanguageC#

Google Authentication in .Net6.0

implement google as identity provider in .Net 6.0 & get user details

seperate class library to authenticate and get user profile in .net 6.0

Steps to register project in google

open https://console.cloud.google.com/apis/dashboard
create project
image

  1. enable api & serivce and add google+api and people api
  2. click oAuth consent and register your app
    image
  3. click credential-> new credential -->oAuth client and enter below details and save
    image
    ---copy your clientid & Client secret