ASP NET Web API google authentication

preview_player
Показать описание
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All ASP .NET Web API Text Articles and Slides

All ASP .NET Web API Videos

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this video we will discuss
1. Benefits of social logins
2. Using Google authentication with ASP.NET Web API

Benefits of social logins

Registration is simple and easy. All they have to provide is their social login username and password and the user is registered with our application. This also means one less password to remember. When users don’t have to remember mulitple usernames and passwords to login to multiple web sites, there will be less failed logins. As you know remembering multiple usernames and passwords is definitely as hassle.

From development point of view, we do not have to write code to manage usernames and passwords. All this is done by the external authentication providers like Google, Facebook, Twitter, Microsoft etc.

Using Google authentication with ASP.NET Web API : When the user clicks "Login with Google" button, he will be redirected to Google login page. The user will then provide his Google credentials. Once the login is successful, the user will be redirected to our application with an access token, which is a proof that the user is successfully authenticated and our web application grants access to the protected resources.

To use Google account for authentication, we will have to first register our application with Google. For the steps to register your application with Google and enable google authentication please check the following article.
Рекомендации по теме
Комментарии
Автор

Thank you Venkat for helping me to get a job switch. You are the best 🙏🙏
Lots of respect to you

indievisualpoet
Автор

Dear Venkat, your commitment is second to none.Thank you so much.

naodagere
Автор

Really it is very helpful lesson and easy to understand. Every week I am waiting for the lessons.Thank you sir.

MsLovelyCandle
Автор

Thanks for share your knowledge with the world. Long life to you my friend.

edwinmerino
Автор

Woohoo! 32 minutes! You've compensated the long time away with this :) Thanks!

martenhc
Автор

Great explanation, please create a video on .NET Core Web Api

anurag
Автор

For those meeting 401 unauthorized issue, there are some tips below when i also met these error in the process
1. When meeting the 401 unauthorized issue, Press F12 to open console page (Chrome)
2. Check which page you are accessing currently unauthorized
3. For example, my unauthorized page is in GoogleAuthentication.js, function isUserResgistered
I have some typo mistake when following the video such as headers --- I miss typing a 's' --> so that i get the response message result is email is null, HasRegistered is true and provider is Null.

try to find your typo mistake or just go to the text versionof this tutorial mentioned in the video description below and copy some of the important code

Good luck everyone!

goldenwarrior
Автор

Excellent sir... Great Explanation for google authenticaion.

ShareKnowledge
Автор

It is a great video. Thank you so much.

goldenwarrior
Автор

The solution for #error=access_denied is:
1- Open (Tools) Tab
2- Choose (NuGet Package Manager)
3- Choose (Package Manager Console)
4- Execute this command in Package Manager Console (Install-Package -Version 2.1.0)

Note:- The Solution taken from youtube comment by "Khaled Said "

marktabor
Автор

Your teaching awesome. Can you please add video on .Net Core Web API Authentication

Rajan_
Автор

Doing Revision...Thanks a lot, Venkat Garu

sairk
Автор

We MUST enable Google+ API in order for authentication to work, many thanks!

marcelorodrigues
Автор

it's is very helpful thanks venkat

shivomsharma
Автор

really great videos.. Its really very helpful... superb

vijaykamble
Автор

10:50 instead of going to the URL, use Telerik Fiddler, Tools
TextWizard... if you've copied the text, Fiddler will already have it
pasted in the wizard for you. Set the transform to URLDecode and enjoy
:)

roidbot
Автор

hi, Thank you a lot! my website is not MVC, I don't havr a app_start folder? where my code should be written?

meravchkroun
Автор

Thank you so much. Awesome explanation you are great sir !!!

girijesh-mca
Автор

10:11 Is there a way to handle the redirect in my Web Form Default.aspx.cs file? Having the redirect happen in my protected void Button3_Click(object sender, EventArgs e) method?

Jjj-cg
Автор

Hello sir Can you please show me an example on how to create and edit a user in google console or google workspace with C sharp

cionsystemsinc