C
C#2y ago
hsalameh

❔ Issue with Google authentication in dotnet 7 react app [SOLVED]

Hi! I am trying to use google authentication with dotnet 7 react app. I followed the instructions here: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/social/google-logins?view=aspnetcore-7.0 And when I go to the register page, and click on register, i am presented with the google login. After selecting the user, it doesn't bring me back to the main page, and it doesn't seem to be authenticated, but no error message is displayed. I do see the following in the browser console: No routes matched location "/signin-google?state=CfDJ8CVEZd3o..... Does anyone know what could the problem be?
Google external login setup in ASP.NET Core
This tutorial demonstrates the integration of Google account user authentication into an existing ASP.NET Core app.
2 Replies
hsalameh
hsalamehOP2y ago
Stack Overflow
Asp.Net React Project Template Google Authentication Not Working
The project I'm working with is literally an asp.net react project template including Identity Framework that comes right out-of-box. I followed the example as specified here: https://learn.microso...
Accord
Accord2y ago
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server