stack/docs/templates
Robin Ferch 6a58bb03b0
Add an OAuth provider for Twitch (#728)
<!-- ELLIPSIS_HIDDEN -->



> [!IMPORTANT]
> Add Twitch as a new OAuth provider, updating backend logic and UI
components to support Twitch authentication.
> 
>   - **Behavior**:
> - Add `TwitchProvider` class in `providers/twitch.tsx` to handle OAuth
with Twitch, including user info post-processing.
>     - Update `_providers` in `index.tsx` to include `TwitchProvider`.
> - Add `TWITCH` to `StandardOAuthProviderType` enum in `schema.prisma`.
>   - **UI Components**:
> - Add Twitch icon and color in `brand-icons.tsx` and `BRAND_COLORS`.
> - Update `ProviderIcon`, `ProviderSettingDialog`, and `OAuthButton` to
support Twitch in `providers.tsx` and `oauth-button.tsx`.
>   - **Misc**:
>     - Add `twitch` to `standardProviders` in `oauth.tsx`.
> 
> <sup>This description was created by </sup>[<img alt="Ellipsis"
src="https://img.shields.io/badge/Ellipsis-blue?color=175173">](https://www.ellipsis.dev?ref=stack-auth%2Fstack-auth&utm_source=github&utm_medium=referral)<sup>
for 08c0de5762. You can
[customize](https://app.ellipsis.dev/stack-auth/settings/summaries) this
summary. It will automatically update as commits are pushed.</sup>

<!-- ELLIPSIS_HIDDEN -->

---------

Co-authored-by: Zai Shi <zaishi00@outlook.com>
2025-07-23 02:31:47 +02:00
..
components Docs updates (#753) 2025-07-11 10:00:02 -07:00
concepts Add an OAuth provider for Twitch (#728) 2025-07-23 02:31:47 +02:00
customization Adds oauth providers, fixes bottom page navigation with mobile suppor… (#726) 2025-07-08 19:51:24 -07:00
getting-started New docs (#698) 2025-06-20 13:30:01 -07:00
others Re-add CLI auth docs 2025-07-03 15:43:36 -07:00
rest-api New docs (#698) 2025-06-20 13:30:01 -07:00
sdk fix sdk linking issues (#783) 2025-07-21 23:59:16 -07:00
snippets New docs (#698) 2025-06-20 13:30:01 -07:00
faq.mdx Docs updates (#753) 2025-07-11 10:00:02 -07:00
meta.json Docs updates (#753) 2025-07-11 10:00:02 -07:00
overview.mdx New docs (#698) 2025-06-20 13:30:01 -07:00