WPF application authentication with Google

前端 未结 2 1097
北荒
北荒 2020-12-16 04:35

I have found many different solutions with OAuth and either with some libraries or with pure requests (https://github.com/googlesamples/oauth-apps-for-windows).

Howe

2条回答
  •  -上瘾入骨i
    2020-12-16 05:04

    I think you are missing the point on what the OAuth is, start by reading this and here is a simple description of the flow.

    which will just make sure that user can also login with his Google e-mail-password pair, I don't need a returned token for the further use

    There is no api for user/pass validation, and the token is the whole point of the OAuth. A user with existing email should be able to login if indeed you registered your application with google. Also i see no point in prior validation of user/pass, just add the button.

提交回复
热议问题