Posts

Showing posts from October, 2018

Google OAuth 2: access data from a Google user in your application

Image
Google API authentication with OAuth 2: access data from a Google user in your application -on the example of Gmail The blog presents how to authenticate and authorize an access to Gmail API from the application. Nowadays web applications are used very widely for almost every task. But it is difficult to remember separate credentials to each and every application. Also, there can be instances where an application requires to communicate with other applications on behalf of the user. These are the basic problems OAuth tries to address. As the solution, modern websites are created based on the OAuth protocol with the concepts of “ Identity Federation ” (  Allowing users to log in to an application with another account.) and “ Delegated Authorization ” (Allowing another service to access resources on another service on behalf of the user  without sharing user’s credentials.). How does OAuth work? To understand how OAuth works, we need to understand...