mirror of
https://github.com/better-auth/better-auth.git
synced 2026-05-23 23:52:05 -05:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user