Let's build a simple web application that uses Google OAuth 2.0 to access Google APIs. The user can sign-in with their Google account and…