Realm SyncUser.authenticate failed with Google's clientID and Facebook
问题 I'm using Google for authenticating, like following: let credential = Credential.google(token: "<SOME-HASH-HERE>.apps.googleusercontent.com") SyncUser.authenticate(with: credential, server: serverURL, timeout: 60) { [weak self] user, error in guard nil == error else { print("error while authenticating: \(error!)") return } … } It gives an error 400. After some debugging I found more info about the problem, but still not sure what is wrong with that. So response looks like this: { "invalid