docs(twitter): document "no email" warning for twitter

Twitch does not require users to have an email on their account, causing users to not be able to sign up. This PR adds a warning to our docs regarding such.
This commit is contained in:
ping-maxwell
2025-11-20 06:57:52 +10:00
parent 48c1e9cb19
commit 5bfa0d736f

View File

@@ -30,7 +30,9 @@ description: Twitch provider setup and usage.
</Step>
<Step>
### Sign In with Twitch
To sign in with Twitch, you can use the `signIn.social` function provided by the client. The `signIn` function takes an object with the following properties:
To sign in with Twitch, you can use the `signIn.social` function provided by the client.
The `signIn` function takes an object with the following properties:
- `provider`: The provider to use. It should be set to `twitch`.
```ts title="auth-client.ts"
@@ -43,5 +45,9 @@ description: Twitch provider setup and usage.
})
}
```
<Callout type="warn">
Twitch users who do not have an email address will not be able to sign in.
</Callout>
</Step>
</Steps>