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

Apple sign in: BAD ID TOKEN #238

Closed
pradeepb28 opened this issue Feb 7, 2024 · 4 comments
Closed

Apple sign in: BAD ID TOKEN #238

pradeepb28 opened this issue Feb 7, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@pradeepb28
Copy link

We're seeing sometimes constantly and sometimes sporadically when attempting to sign in or sign up using Apple

▿ GoTrue.GoTrueError.api
  ▿ api: GoTrue.GoTrueError.APIError
    - message: nil
    - msg: nil
    - code: nil
    ▿ error: Optional("invalid request")
      - some: "invalid request"
    ▿ errorDescription: Optional("Bad ID token")
      - some: "Bad ID token"

SDK version: master
CleanShot 2024-02-07 at 12 40 27@2x

@pradeepb28 pradeepb28 added the bug Something isn't working label Feb 7, 2024
@grdsdev
Copy link
Collaborator

grdsdev commented Feb 7, 2024

Hi @pradeepb28 that error is thrown from the GoTrue server, as long as you're sending the correct values in the request, there is not much we can do on the client.

Let me know what the results are, I'll gladly help you further.

@pradeepb28
Copy link
Author

Hi @pradeepb28 that error is thrown from the GoTrue server, as long as you're sending the correct values in the request, there is not much we can do on the client.

Let me know what the results are, I'll gladly help you further.

We have not changed any of those values on our end other than following that example from that url. Just now checked we;ve not rewritten anything on Apple Sign-In October 2023. The issue seems to be sporadic.

@grdsdev
Copy link
Collaborator

grdsdev commented Feb 8, 2024

Got it @pradeepb28 I'll check with the backend team to see if they know of any change on their side that could impact this.

@grdsdev
Copy link
Collaborator

grdsdev commented Feb 8, 2024

@pradeepb28 there was a change in Apple's response for that, which caused this error to be returned.

A fix was rolled out 2 days ago (check this issue), if you are still facing this issue, reach out to https://supabase.help/

Thanks.

@grdsdev grdsdev closed this as completed Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants