Google OAuth2 API in C# - Authentication, Refresh Token and Examples

preview_player
Показать описание
In this video I am showing how to use server side Google OAuth2 API in C# programming language. In particular, I will be demonstrating how to:
• Authenticate yourself and retrieve a token
• Refresh an already retrieved token
• How to call Gmail and Youtube API as examples

Рекомендации по теме
Комментарии
Автор

Great job!!! The only tutorial which has worked for me!

blazrogelj
Автор

This was a very simple and easy to implement. Thank you for sharing.

AshleyChooTim
Автор

Thank you for sharing your knowledge. this is the one I was looking for a while

sekiro
Автор

Tks alot :)) I've been struggle with this thing for 2 days, hope you will create more helpful video like this, many tks <3

atlethanh
Автор

Hello, I recently encountered this problem. Could you please tell me if this approach is outdated? Such thoughts are due to the fact that the Microsoft documentation indicates an approach with Edentity and Razor, and apis has not been updated for a long time

AliceLee
Автор

Hi, i need to develop web application that connect to my own google account. but how it will work on real server hosting? do i need to click on the pop pu window each time? or can prevent that?!

idosandman
Автор

And for a web app how to do that because I keep getting Erreur 400 : redirect_uri_mismatch.
But the uri keep change everytime so I can't add it to my uri's. Any help ?

adrienperrot
Автор

Hi, is there any way to delete emails?, i wan't to build a desktop application where you can filter by the sender email and delete all those emails at once or with a loop. thx for help

Veelicus
Автор

Is there a way you can login to multiple accounts, or prompt the user to login every time!

bradleyzaricki
Автор

What if i wanna keep seeing the authentication page ? I mean, to keep testing the program i should be able to see the authentication page several times, not just the first time. How can i do that ?

dc
Автор

A quick one, will this persist user login and re-authenticate when token expires?

joewings-jw
Автор

Hi, thanks for your videos! I was able to get this done on localhost, but error on my deployment API endpoint-
is there anyway we can avoid the consent screen and get the access token in the server code itself?
I am trying to show google reviews on my site for users.

natasharego
Автор

why google apis are alwyas the worst APIs to work with

soixantelly