Skip to content

Commit 5112dee

Browse files
authored
fix(docs): update js example for auth linkIdentity (supabase#40082)
1 parent e5dbae6 commit 5112dee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/content/guides/auth/auth-identity-linking.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ For native mobile applications, you can link an identity using an ID token obtai
108108
const idToken = 'ID_TOKEN_FROM_GOOGLE'
109109
const accessToken = 'ACCESS_TOKEN_FROM_GOOGLE'
110110

111-
const { data, error } = await supabase.auth.linkIdentityWithIdToken({
111+
const { data, error } = await supabase.auth.linkIdentity({
112112
provider: 'google',
113113
token: idToken,
114114
access_token: accessToken,

0 commit comments

Comments
 (0)