Google Authentication with .NET 6 Identity, a Web API & Blazor WebAssembly 🔒

preview_player
Показать описание


Table of Contents:
00:00 Google Authentication with .NET 6 Identity, a Web API & Blazor 🔒
02:59 Create a Project with Individual Accounts & Preparations
07:21 Change Connection String
07:56 Install EF Core Tools
08:32 Apply Migrations
09:32 Register a New User Account
11:06 Starting with Google Authentication
15:58 Add Authorised Redirect URI
17:09 Store Google Client ID and Secret & Configure Google Authentication
22:18 Sign In with Google

🙏MANY THANKS TO THESE LOVELY PEOPLE:
Piotr Franczak
Jan Trichter
Tom
H. Ali
Ashley Gahl
Daniel Viveros
Mehmet Ali Ege
Winther
harry j
@Alaffer
Sam Catlow
Jim
Brian Williams
Gonzo
Jonas
Ariel Sartor
Andy Benson
@stevelikespies
Raphael Lukas
James Goforth
@williamdevine
Doug Nelson
Arif Hasanov
@kohji1712
@dlb78dlb
Thomas Korsgaard
FastTrak
Jeff Sager
Dan Moyer
AlgoMarket
Mennskr
Simon
Michael Mel
Hermann Rösch
Jim McNeal
Kieron
@mgrainger231
Gerrit Esmeijer
Axel
Kareem Skinner
Joaquim
Alain Legrand
Per Rieland
@prodrigu75
Greg
Brendan Maunder
Stageoner
Andrew Campbell
pascalditzfeld
PovilasSimanskas
Ameet Jayawant
jenö
Marco Otilli
Mark
l33ter
alibux
Luke Vincent
mrcl
Alain Legrand
Thomas Werner
István Csibor
Grant Burdon
@gianluigiconti
Gerrit Esmeijer
Illia
Németh-Pók István
Michael Mel
Marko Zdilar
GerryB
@DADA_universe
Domen Hren
@heroesch
Carey
Peter De Tender
Baris Keskin
@Big_Bear_27390
Mathias
walter e watkins
Günther Dassel
Axel
Josh
Daniel Huber
Fredric Adell
Juan Carlos
Manolis
Pajani
P.
Jonas Granlund
Bobby
Kristina
@xamarin007

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

It is so satisfying to find a video that gets right down to the point. w/Playback at 1.5x everything shown here was up and working, in .Net 7, in about 14 minutes. That's about as 'instant gratification' as I've seen for dotnet & auth. Doing the same thing using B2C & a .JS SPA two years ago took *cough* quite a bit longer. Really appreciate this, Patrick. Thanks!

samjohnson
Автор

Thank you Patrick, this was a good tutorial. I appreciate the effort you put into getting these videos out here.

RakeshBridgraj
Автор

Thank you for another helpful video Patrick. I appreciate your hard work in creating these videos on such a regular basis.

stephenshillitoe
Автор

really really enjoyed this tutorial! thank you Patrick!

ammarmangala
Автор

¡¡Muchas gracias!! excelente enseñanza!!

henrrypadills
Автор

Hi Patrik and thanks for your videos.
My question is - what is the role of the client side?
Something is not clear enough to me.

ernanmaisels
Автор

Excellent tutorial, I've learned a lot, now I'm trying to apply everything I've already learned in this and other tutorials I've seen on your channel, the same at some point if you did an Identity tutorial, but including Unit of Work and Repository Pattern, I haven't found many examples of it.

FelipeSoto
Автор

Muchas gracias Patrick !!! Realmente vales tu apellido.

marcosdalmolin
Автор

Thanks for showing what the identity database populates with (24min in) no one else shows this and it makes the whole process hard to understand. So we do get the user's email saved, and the password is null.

stevemcqueen
Автор

Hi, a very good explanation. I have a question: Could the same be done with native mobile apps? Should then api send a url to the mobile client. It would be very helpful if you could explain how is it done. Thanks

Ahmed-uiwn
Автор

Good video. Why would they make it so when you have to enter another email when you decide to authenticate using google? That seems confusing.

therealherbzy
Автор

Thanks Patrick
Can you make a video about Facebook authentication ?

cissemy
Автор

Vielen Dank für einen weiteres tolles Video Patrick :-)
Kannst du mir noch folgende Frage beantworten: Was müsste ich tun, wenn NUR bestimmte Familienmitglieder Zugriff auf meine Web App über Google Login ohne Registrierung bekommen sollen? Die Registrierung möchte ich abschalten. Geht sowas überhaupt? Müsste ich dafür nur den kompletten 'Register'-Teil aus dem IdentityServer nehmen, oder reicht das nicht?
Viele Grüße,
Raphael

raphaellukas
Автор

Hey Patrick, can you please update this for dotnet 8 (or even better, 9)?

pravinchaudhary
Автор

where is web api are you accessing ? or you just give heading only ?

thestudy
Автор

Is everything here free? talking about all the google cloud part

RajoyVuelvePorfa
Автор

thanks for the tutorial. I have a question, towards the end after signing in to google there is a form to complete the registration. I have some extra fields to put such as first and last names, how to modify this form? where is it located in the project?

mrtrader
Автор

As always a good tutorial, do you have any knowledge with Azure B2C? Maybe a .NET 6 Blazor WebAssembly and API using B2C for client authentication would be a great tutorial, and using Microsoft GraphAPI to create new users, etc! Keep the great work!

RikiGamesHD
Автор

This is insane man. Can you do a tutorial with just wasm and firebase as auth provider? They have all the identities.

azgan
Автор

How do you grab the logged in user details to be able to use it with an api back end?

How’s of tutes on the setup part but not a lot on actual use cases… :(

tinylittleanj