Same Error
Code
async appleSignin() {
const provider = new auth.OAuthProvider('apple.com');
provider.addScope('name')
provider.addScope('email')
const credential = await this.afAuth.signInWithPopup(provider);
return this.updateUserData(credential.user);
}
Error
core.js:4197 ERROR Error: Uncaught (in promise): Error: Error getting access token from https://appleid.apple.com, OAuth2 redirect uri is: https://---firebaseapp.com/__/auth/handler, response: OAuth2TokenResponse{params: error=invalid_client, httpMetadata: HttpMetadata{status=400, cachePolicy=NO_CACHE, cacheDurationJava=null, cacheImmutable=false, staleWhileRevalidate=null, filename=null, lastModified=null, retryAfter=null, headers=HTTP/1.1 200 OK