I know Microsoft provides a Google-specific OIDC package (Microsoft.AspNetCore.Authentication.Google) which takes an option in .AddGoogle() to specify
Microsoft.AspNetCore.Authentication.Google
.AddGoogle()