Plugin.Maui.Spine.Authentication.Google 0.261201.1698

dotnet add package Plugin.Maui.Spine.Authentication.Google --version 0.261201.1698
                    
NuGet\Install-Package Plugin.Maui.Spine.Authentication.Google -Version 0.261201.1698
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Plugin.Maui.Spine.Authentication.Google" Version="0.261201.1698" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Plugin.Maui.Spine.Authentication.Google" Version="0.261201.1698" />
                    
Directory.Packages.props
<PackageReference Include="Plugin.Maui.Spine.Authentication.Google" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Plugin.Maui.Spine.Authentication.Google --version 0.261201.1698
                    
#r "nuget: Plugin.Maui.Spine.Authentication.Google, 0.261201.1698"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Plugin.Maui.Spine.Authentication.Google@0.261201.1698
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Plugin.Maui.Spine.Authentication.Google&version=0.261201.1698
                    
Install as a Cake Addin
#tool nuget:?package=Plugin.Maui.Spine.Authentication.Google&version=0.261201.1698
                    
Install as a Cake Tool

Plugin.Maui.Spine.Authentication.Google

Sign in with Google for a Spine app, on top of Plugin.Maui.Spine.Authentication:

  • Android: Credential Manager's own sheet. The ID token carries the server's nonce and goes to POST {Server}/google/token.
  • iOS, Mac Catalyst, Windows: the server's broker in the system browser.
dotnet add package Plugin.Maui.Spine.Authentication.Google
builder.UseSpine(o => o.AddAuthentication(a =>
{
    a.Server = new Uri("https://api.example.com/auth");
    a.CallbackScheme = "se.example.app";
    a.AddApple();                                                  // App Store Review Guideline 4.8
    a.AddGoogle(g => g.ServerClientId = "….apps.googleusercontent.com");
}));

Google Cloud setup

In the Google Cloud console, under APIs & Services → Credentials (with an OAuth consent screen):

  1. A Web application client.
    • Its id is the app's ServerClientId, and the server's Google(o => { o.ClientIds.Add(id); o.WebClientId = id; o.WebClientSecret = …; }).
    • Its redirect URI is the server's {PublicUrl}/google/callback, for the broker.
  2. An Android client.
    • It takes the app's package name and the SHA-1 of the key that signs it.
    • For debug builds that key is ~/.android/debug.keystore on a Mac (keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android).
    • A Play Store build is signed by Play: use Play App Signing's SHA-1.
    • Without a matching Android client, Credential Manager answers with an error, not a sheet.
  3. The app needs <SpineAuthenticationCallbackScheme> in its project and a.CallbackScheme for the browser on the other platforms.

Credential Manager needs Android 6.0 and Google Play services. The emulator needs a Google Play image with a signed-in Google account.

Docs: https://github.com/jonatansoderberg/Maui.Spine/blob/master/docs/wiki/authentication.md#sign-in-with-google

Product Compatible and additional computed target framework versions.
.NET net10.0-android36.0 is compatible.  net10.0-ios26.0 is compatible.  net10.0-maccatalyst26.0 is compatible.  net10.0-windows10.0.19041 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.261201.1698 0 12/1/2026
0.261130.1690 32 11/30/2026
0.261130.1688 37 11/30/2026
0.261129.1684 57 11/29/2026
0.261129.1682 48 11/29/2026
0.261127.1680 54 11/27/2026
0.261127.1678 55 11/27/2026
0.261127.1676 56 11/27/2026
0.261127.1674 66 11/27/2026
0.261126.1664 82 11/26/2026
0.261126.1655 79 11/26/2026
0.261125.1651 82 11/25/2026
0.261125.1646 87 11/25/2026
0.261125.1644 84 11/25/2026
0.261124.1637 90 11/24/2026
0.261123.1633 96 11/23/2026
0.261123.1631 90 11/23/2026
0.261123.1629 90 11/23/2026
0.261123.1627 98 11/23/2026
0.261123.1625 95 11/23/2026
Loading failed