I’ve recently been having issues similar to the ones found in this thread, except I’m using iOS 14/Xcode 12 and Realm Beta 10.0.0-beta.5.
Specifically, both the FB and Google OAuth process lead to this error code:
‘error exchanging access code with OAuth2 provider’, code: 47}
I double-checked that I was using the right Client ID/Secret as well as the proper Redirect URI, and all seems ok on the backend for both Facebook and Google. Now I’ve tried using the updated serverAuthCode method found in the docs here, but the Credentials shoot me an error:
let credentials = Credentials.google(serverAuthCode: "<token>")
Error: Error: Type ‘Credentials’ (aka ‘RLMCredentials’) has no member ‘google’
Is there an update I’m missing or am I missing something in the Credentials setup? Thanks!