Hello, I’m trying to implement google sign in with Auth0 and I have an unsuccessful callback.
What is wrong with my implementation?
Auth0
.authentication()
.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)")
failure(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)