Google oauth2 0 0 scopes that you might need to request to access Google APIs, depending on the level of access you need. In the OAuth flow field, select Client-side. You should get familiar with the protocol by reading the following links: The OAuth 2. Methods to confirm a user has granted consent for any requested scopes. cloud. credentials import google_auth_oauthlib. If your app requests sensitive or restricted scopes, you need to complete the verification process unless your app's use qualifies for an exception . Delphi - Send email using Google/Gmail OAuth 2. json file to work with. Personally I think that OAuth2 implementation in this case will not bring any major benefit but let`s focus on main question - default expiration times. vqskfekmnyynxswihiccrfrobnoimtannfojwveoikecnnnaexcaeylaguatkknisxlemiuvufeelntrunxzo