Use nhost.auth.linkIdToken to link a user account with the provider’s account using an ID token
Copy
Ask AI
nhost.auth.linkIdToken({ provider: 'google', // The provider name, e.g., 'google', 'apple', etc. idToken: '...', // The ID token issued by the provider. nonce: '...' // Optional: The nonce used during token generation.})