Use nhost.auth.signInIdToken to sign in a user with the provider’s account using an ID token
Copy
Ask AI
nhost.auth.signInIdToken({ 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.})