This article provides guidance on how to implement Google Drive OAuth in a .NET MAUI project on Windows and Android platforms.
The article guides the user into creating a Google Cloud Console project, adding Google Drive API, and setting up OAuth consent screen, and adding test user.
The article explains how to set up Windows UWP client ID and Android client ID, generate the OAuth client ID, and set up the custom URI scheme.
The article walks through creating the .NET MAUI project, installing NuGet packages, and setting up Android. It also explains how to add WebAuthenticatorCallbackActivity and GoogleDriveService.
The article shows how to update MainPage.xaml and MainPage.xaml.cs and control window size for Windows.
The article provides steps on how to test on Windows and Android and includes images to show how to sign in and list files.
The article includes a link to a Github sample app and references for more information.