Jelles
Google Auth invalid OAuth state
also found this https://github.com/dotnet/AspNetCore.Docs/issues/14169
16 replies
Google Auth invalid OAuth state
Ahh :/ I follow this: https://learn.microsoft.com/en-us/aspnet/core/security/authentication/social/google-logins?view=aspnetcore-8.0
16 replies
Google Auth invalid OAuth state
I am not too sure what the line:
options.DefaultScheme = CookieAuthenticationDefaults.AuthenticationScheme;
is and if it's required. Same goes for options.SignInScheme = CookieAuthenticationDefaults.AuthenticationScheme;
16 replies
Blazor Page not updating model
I've encountered an issue with Google Authentication in my application. Initially, I realized I was missing
Frontend (Startup.cs): Pastebin Link Google Sign-In Button: Could you help me troubleshoot why the OAuth state might be missing or invalid? Any suggestions on how to resolve this issue would be greatly appreciated!
@rendermode
, which was causing updates to fail. However, I'm now facing a problem with identity authentication. When attempting to integrate Google Auth, I keep receiving the following error upon redirection to my backend:
Despite the error, I can see that the g_csrf_token
is being set in the cookies (e.g., g_csrf_token: bef5dc9647613e43
). I've already configured the endpoints in the Google Console.
Here are the relevant parts of my setup:
Backend (Startup.cs): Pastebin LinkFrontend (Startup.cs): Pastebin Link Google Sign-In Button: Could you help me troubleshoot why the OAuth state might be missing or invalid? Any suggestions on how to resolve this issue would be greatly appreciated!
3 replies