Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

0 votes
0 answers
29 views

Google Workspace users for authentication in ASP.NET MVC 5 apps

Is it possible to setup authentication via my organization's Google Workspace users? I have several ASP.NET MVC 5 web apps that I want to protect via Google's Workspace users authentication. Link to ...
Hammad Ahmed's user avatar
1 vote
1 answer
109 views

How to upload video to my YouTube channel programmatically on the C#?

I want to upload videos to my YouTube channel programmatically, but when I try to upload using API Key, I got the error in response, that this API don't support API Key. When I try using OAuth, my ...
Vladislav Yurevich's user avatar
1 vote
1 answer
92 views

GoogleWebAuthorizationBroker problem, but in a .NET Framework 4.8 application

I have a problem with the Google Gmail API. It is working on my local machine, but once I deploy the project to the server, it stops working. Error: System.AggregateException: One or more errors ...
Daniel Mauricio Valdes Cabrera's user avatar
0 votes
2 answers
371 views

Erratic gmail OAuth2 authentication with MailKit and Google APIs

The MailKit and Google API C# code below was written to authenticate gmail access tokens in my Win10 desktop app. However, the call to client.AuthenticateAsync usually, but not always, fails and ...
BenevolentDeity's user avatar
1 vote
0 answers
81 views

How to use a user token/refresh token when using the Google Calendar API with the .net library

I have a Blazor App which has a calendar. I want to sync the event from the app calendar, to the users Google Calendar. I am using the 'Authorization Code Flow'. I have succeeded in getting the first ...
Greg Gum's user avatar
  • 36.6k
0 votes
1 answer
132 views

How to use a cross-project service user to auth in Google Play Developer API

In my current setup, I am only able to have a service account in a shared project called ProjectA. This project is solely used for creating Service Accounts (SA). Afterwards, I invite the SA to my own ...
Lucas Stern's user avatar
1 vote
2 answers
585 views

MailKit and OAuth2 for gmail SMTP - 5.7.8 BadCredentials error

I'm trying to use mailkit to send emails via a gmail account. I keep getting the 5.7.8 BadCredentials error. My Oauth2 credentials in google specify a project name of "EmailTesting" for a ...
erict's user avatar
  • 1,447
1 vote
1 answer
218 views

How to Download Gmail Credentials.json File from google cloud using C#

Good day! I have already developed an email sending application using C#. First of all, I have to create the credentials.json file manually and then set the location. Now, I would like to know how to ...
MD FAISAL's user avatar
1 vote
2 answers
481 views

Google People API - What do I need to access an individual user's contacts from a service account?

I am writing an app (C#/Windows) that takes data from another source and uses it to keep Google mailing lists and contact information up-to-date for a particular user in my domain. I've got it to the ...
Betty Crokker's user avatar
1 vote
2 answers
374 views

C# GoogleWebAuthorizationBroker for OAuth2 connection to GMail not work in windows service

My application is written with .NET Framework 4.7.2. The application I created must interface with a GMail mailbox to download mail (via POP3). To authenticate my application to the mailbox via OAuth2,...
filippocurati's user avatar
0 votes
1 answer
70 views

How to register with Google to be able to upload videos to YouTube from your desktop using C#

I am writing an application that uploads videos to youtube from a desktop. It will be used only by me, so there is no issue with authentication or giving any access rights). I found this post that ...
mans's user avatar
  • 17.7k
0 votes
2 answers
463 views

Wrong OAuth 2.0 JWT token for Google APIs using .NET Core and X.509 certificate

I'm trying to make requests to the Google APIs AdMob services. This API requires the new OAuth 2.0 authentication process which for the Service-to-service integration, is a two steps process: 1) ...
Jose Cordero's user avatar
0 votes
1 answer
346 views

GoogleCredential.GetApplicationDefault silent timeout

I am running a .NET application inside a docker container on a Compute Instance. I'm trying to get my app to make a call out to another Compute Instance. I am generating my token from a credentials....
pjpscriv's user avatar
  • 1,106
1 vote
1 answer
133 views

Google api library doesn't throw a "invalid_client" when authorize with invalid client_id [C#]

I'm working with google api library C# and when I authorize with invalid client id, the page with 401 error opens in my browser but my program freezes and does nothing. It doesn't trow any exceptions. ...
Qweka's user avatar
  • 11
0 votes
1 answer
471 views

How to check in .net core 6 if a google token brings my GOOGLE API credentials?

How can I verify if a Google Api token that comes from any frontend to my .net core 6 api is enabled with my idCliente credentials. example: var validPayload = await GoogleJsonWebSignature....
Steven Canales's user avatar

15 30 50 per page
1
2 3 4 5
19