23. Google Oauth2
Web Server Application Service Account
Request token
Authorization
code
Exchange code
for token
Token response
Use token to
call Google API
Your App Google
Servers
User login !
& consent
Use
r
Create and
sign JWT
Use JWT to
request token
Token response
Use token to
call Google API
Server
App
Google
Servers
24. Service Account
Configures
Authenticate can be cache
and auto refresh
Others… Request…
Request… Request…
Create and
sign JWT
Use JWT to
request token
Token response
Use token to
call Google API
Server
App
Google
Servers