This is the third part of an 8-episode series, in which we’ll take a deep dive into developing web apps with the Google Ads API, with a focus on the OAuth flow, by building a multi-tenant app entirely from scratch.
This episode will demonstrate how to authenticate users with Google One-tap Sign-in and generate a credential (JWT) for the authenticated user which will be used to store and refresh tokens credentials in a later video.
Resources:
- Google Ads API documentation: https://developers.google.com/google-...
- Google Ads API OAuth documentation: https://developers.google.com/google-...
- Google Ads API Auth Video Series: • Authentication & Authorization Series
- Google Identity Documentation: https://developers.google.com/identit...
- Google Identity load the client library: https://developers.google.com/identit...
- Google Identity code generator: https://developers.google.com/identit...
- Google Cloud console: https://console.cloud.google.com
Chapters:
00:00 Intro
01:12 Spinning up a Simple Python Server
01:50 Loading the Google Identity Client Library
01:58 Using the One-tap Sign-in Code Generator
04:06 Configuring Authorized Javascript Origins
05:04 Inspecting the sign-in response