What is "oauth2"

Oauth 2.0 is an authorization protocol that enables applications to access data mutually. Game applications can access your Facebook account, for example, or a local application can access Foursquare data.

inserir a descrição da imagem aqui

The above image demonstrates how applications of various natures can benefit from the new version of the Protocol.

Sources: