loginSocial for Google isn't working

Hello, I’m trying to implement google sign in with Auth0 and I have an unsuccessful callback.

What is wrong with my implementation?

        .loginSocial(token      : token,
                     connection : "google-oauth2",
                     scope      : "openid profile")
        .start { (result) in
            switch result {
            case .success(let credentials):
                print("Obtained credentials: \(credentials)")
            case .failure(let error):
                print("Failed with \(error)")

I’ve implemented successfully google sign in presentation and in the delegate method “didSignInFor”
I implemented that code. With google everything is okay. It’s responding with the token.

Seems like that I have the same problem such as in that topic.
And I have the same output “Not Found”. (The only difference is - Google and Facebook).

WebAuth is not correct solution for me.

Auth0 iOS SDK (version is 1.0)

@ashish had couple questions for @kamlesh.jswal in that topic.

So I will answer this questions too.

The questions are:

  • Are you seeing facebook login screen or not?
  • is there any error that you get?
  • Is the facebook connection properly setup? Does the Try connection button work for you in Auth0 dashboard?
  1. In my situation is Google so yep, I can see google sign form in application and after successful login, it returns token in func sign(_ signIn: GIDSignIn!, didSignInFor user: GIDGoogleUser!, withError error: Error!) delegate method. So this step is 100% successful.
  2. I have Not Found error in the failure block. (case .failure)
  3. Google connection is properly set and working fine. “Try connection” button working as well and webAuth also working well. The problem only with loginSocial.