You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.
I cannot get google's OAuth working for sign in. It issues the challenge and directs me to Google's login/authorization screen. After I accept, it brings me back to the login view with an error "Invalid Account". After looking in the source, I think the external cookie is not being set. I've written an action that tries to access the cookie 'Constants.ExternalAuthenticationType' and the value is null.
The ConfigureAdditionalIdentityProviders looks like:
var google = new GoogleOAuth2AuthenticationOptions
{
AuthenticationType = "Google",
SignInAsAuthenticationType = signInAsType,
ClientId = configuration.ClientId,
ClientSecret = configuration.ClientSecret
};
app.UseGoogleAuthentication(google);
The text was updated successfully, but these errors were encountered:
I guess that's a good point -- I'd suggest building a standalone app that uses the same account info and callback to ensure the google side is configured correctly. Once you have that confirmed, then switch IdSvr in.
I cannot get google's OAuth working for sign in. It issues the challenge and directs me to Google's login/authorization screen. After I accept, it brings me back to the login view with an error "Invalid Account". After looking in the source, I think the external cookie is not being set. I've written an action that tries to access the cookie 'Constants.ExternalAuthenticationType' and the value is null.
The ConfigureAdditionalIdentityProviders looks like:
var google = new GoogleOAuth2AuthenticationOptions
{
AuthenticationType = "Google",
SignInAsAuthenticationType = signInAsType,
ClientId = configuration.ClientId,
ClientSecret = configuration.ClientSecret
};
app.UseGoogleAuthentication(google);
The text was updated successfully, but these errors were encountered: