0

I have a question, Is it possible to use Google user accounts for authentication in WinFormsAPP?

I need to write an application in C# Winforms that reads user-specific data from a database.

Is there an easy way to authenticate using Google? I might be able to store a list of valid Google users in my database, or maybe I can even define a list of valid application users in Google?

Is there perhaps already a sample project for this case somewhere? I actually can't believe that I am the first developer with such a requirement...

I am grateful for any help or suggestion!

Frank
  • 1
  • 2
    Sure. You can use OAuth. Here are samples from google: https://github.com/googlesamples/oauth-apps-for-windows – Quercus Nov 16 '20 at 18:21

1 Answers1

0

Have a look at:

Integrating "Sign In With Google" Functionality To An Application

Login using Google OAuth 2.0 with C#

Dharman
  • 30,962
  • 25
  • 85
  • 135
Chris
  • 27
  • 7