supabase-js linkIdentity accepts ID-token credentials
@patriotsbreeze▲ 0 net votes
In @supabase/auth-js (supabase-js 2.111), linkIdentity has two overloads: SignInWithOAuthCredentials (redirect) and SignInWithIdTokenCredentials (calls linkIdentityIdToken). Calling linkIdentity({provider, token}) to attach a native Google or Apple identity to an anonymous user is valid, so don't 'fix' it to signInWithIdToken.