This post explains how to add Google Oauth2 login in a Flask web app using the requests-oauthlib package for OAuth 2.0 and flask-sqlalchemy. To get started, first we have to create a project in Google Developers Console to get client key and secret. Creating a Google project First go to Google Developers Console. Sign in using your Google credentials if you haven’t already. There will be a list of
![Add Google Oauth2 login in your flask web app](https://cdn-ak-scissors.b.st-hatena.com/image/square/481cecc14c4cf53704825ffe114d5e2453b38309/height=288;version=1;width=512/https%3A%2F%2Fres.cloudinary.com%2Fbeetoo%2Fimage%2Fupload%2Fv1538725439%2FArtboard_1_baajan.png)