Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error getting credential from Apple on linking with popup with firebase #985

Closed
tamngonesv030 opened this issue Mar 9, 2021 · 2 comments

Comments

@tamngonesv030
Copy link

In my unity project. I'm implementing link with popup with Apple as a provider. I checked: Services ID, Apple team Id, Key Id, Private key but I'm always getting the following error:

Firebase.FirebaseException: The supplied auth credential is malformed or has expired. [ Error getting access token from https://appleid.apple.com, OAuth2 redirect uri is: https://myproject.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

, contentSecurityPolicies=[], originTrials=[], cookieList=[]}} ]
   --- End of inner exception stack trace ---
   --- End of inner exception stack trace ---
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. ---> Firebase.FirebaseException: The supplied auth credential is malformed or has expired. [ Error getting access

No account for auth token provided

@google-oss-bot
Copy link

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

@vimanyu
Copy link
Contributor

vimanyu commented Mar 12, 2021

Hi,
Just wanted to point out that there is documentation for Apple sign in Firebase Auth here.
https://firebase.google.com/docs/auth/unity/apple

If you followed that and are still running into errors, it seem like a backend issue and FirebaseSupport will be able to help you with this.

@vimanyu vimanyu closed this as completed Mar 12, 2021
@firebase firebase locked and limited conversation to collaborators Apr 12, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants