Google Authentication in ASP.NET Core with React (.NET 9)

preview_player
Показать описание
Learn how to implement Google Authentication in your ASP.NET Core application with React integration. In the previous video, we set up .NET Identity with login, registration, JWT assignment, and refresh token endpoints. Today, we'll extend our authentication system by adding support for external providers like Google. Follow this step-by-step guide covering Google OAuth 2.0 setup, ASP.NET Core Identity configuration, token validation, and seamless React frontend integration!

Github to the source code that I use as starting point in this tutorial:

Final source code after finishing this tutorial:

JWT and Refresh Token in ASP.NET Core 9 Web API Authentication Course:

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

Thanks I Searched For long time and dont find anything

shabanelmogy
Автор

After login successful, it does not call the callback function, it calls directly your redirectUrl configured in google cloud. How can you address this problem?

TrungRichie
Автор

how are you calling the "dotnet ef database update" command I am getting various errors, I know its stupid but I am not sure what I am doing wrong.

WajidAliKhilji
Автор

Sorry for the stupid question but I didn't understand how your front-end app get cookies?
You sign in backend, but how cookies translated to front-end?

alekseis