PreviousNext

Using the OAuth 2.0 device flow to authenticate users in desktop apps

by bill-s, 2020-03-30T18:54:54.129Z

OpenID Connect is an authentication layer built on top of OAuth 2.0, which means that you have to use one of the OAuth 2.0 authorization flows. A few years ago, there were basically two possible flows that you could use in a desktop client application to authenticate a user: Resource Owner Password Credentials Authorization Code The password flow is pretty easy to use (basically, just exchange the user’s login and password for a token), but it requires that the client app is highly trusted, since it gets to manipulate the user’s credentials directly. This flow is now disallowed by OAuth 2.0 Security Best Current Practice.

Read More