Skip to content

Conversation

@halvaradop
Copy link
Member

@halvaradop halvaradop commented Dec 28, 2025

Description

This pull request adds the Twitch OAuth provider to the list of supported OAuth integrations in the Aura Auth library.
With this addition, Aura Auth now supports seven OAuth providers: GitHub, Bitbucket, Figma, Discord, GitLab, Spotify, X, Strava and Twitch

We are actively working to expand the set of available OAuth providers before publishing the first stable version of the library, ensuring users have access to a solid minimum set of authentication options.

Set up

import { createAuth } from "@aura-stack/auth"

export const auth = createAuth({
  oauth: ["twitch"],
})

export const { handlers } = auth

@vercel
Copy link

vercel bot commented Dec 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
auth Ready Ready Preview, Comment Dec 30, 2025 0:01am
auth-nextjs-demo Ready Ready Preview, Comment Dec 30, 2025 0:01am

@halvaradop
Copy link
Member Author

Note

This pull request is marked as draft because the current implementation of the authorizeURL, accessToken, and userInfo options only accepts endpoint URLs for the OAuth 2.0 Authorization Code flow. At the moment, it is not possible to pass additional parameters or custom headers to these endpoints.

The Twitch API requires an extra Client-ID header when fetching user information, which is not natively supported by Aura Auth. For more details, see: Get Users

Although this would be a valuable enhancement to the library, it is not currently a priority. This pull request will be revisited and completed once support for additional parameters and headers is introduced for these endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants