AuthApiError: Unacceptable audience in id_token - Signing in with apple error

I got the following error when I tried to sing-in in through apple using expo authentication. Can anyone please help me with this?

Steps:

  1. Follow https://docs.expo.dev/versions/latest/sdk/apple-authentication/ to get id token
await supabase.auth.signInWithIdToken({
provider: 'apple',
token: '<identity token received from the OS>',
})

Thats when i get this error
Expo Documentation
A library that provides Sign in with Apple capability for iOS 13 and higher.
Was this page helpful?