[PR #1482] [CLOSED] feat: add Trakt social provider #3825

Closed
opened 2026-03-13 11:15:40 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1482
Author: @alessandrojean
Created: 2/18/2025
Status: Closed

Base: mainHead: add-trakt


📝 Commits (4)

  • fe7a593 feat: add Trakt social provider
  • a28783b fix: remove prompt as it was not used
  • 299ccfd fix: remove scopes as Trakt does not support
  • 9e57b52 fix: create the get token request manually

📊 Changes

5 files changed (+202 additions, -0 deletions)

View changed files

📝 docs/components/builder/social-provider.tsx (+29 -0)
📝 docs/components/sidebar-content.tsx (+18 -0)
docs/content/docs/authentication/trakt.mdx (+52 -0)
📝 packages/better-auth/src/social-providers/index.ts (+3 -0)
packages/better-auth/src/social-providers/trakt.ts (+100 -0)

📄 Description

While I was working on #1481, I thought: why not add Trakt as a built-in provider as well?

Not sure if it is a very niche use-case or if it's not in the library's plan to add more providers, so feel free to close if it's the case, no worries.

The API OAuth docs are available here.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/better-auth/better-auth/pull/1482 **Author:** [@alessandrojean](https://github.com/alessandrojean) **Created:** 2/18/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-trakt` --- ### 📝 Commits (4) - [`fe7a593`](https://github.com/better-auth/better-auth/commit/fe7a593f0194d30c03960b576daca3b136a920b1) feat: add Trakt social provider - [`a28783b`](https://github.com/better-auth/better-auth/commit/a28783b7e0821de923bbe99d9471766826670209) fix: remove prompt as it was not used - [`299ccfd`](https://github.com/better-auth/better-auth/commit/299ccfd322ed293bb9a14f6fb14073f9b01a7b83) fix: remove scopes as Trakt does not support - [`9e57b52`](https://github.com/better-auth/better-auth/commit/9e57b52fac1b931cd85a82529fe7dcbb410e6ebb) fix: create the get token request manually ### 📊 Changes **5 files changed** (+202 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/social-provider.tsx` (+29 -0) 📝 `docs/components/sidebar-content.tsx` (+18 -0) ➕ `docs/content/docs/authentication/trakt.mdx` (+52 -0) 📝 `packages/better-auth/src/social-providers/index.ts` (+3 -0) ➕ `packages/better-auth/src/social-providers/trakt.ts` (+100 -0) </details> ### 📄 Description While I was working on #1481, I thought: why not add [Trakt](https://trakt.tv) as a built-in provider as well? Not sure if it is a very niche use-case or if it's not in the library's plan to add more providers, so feel free to close if it's the case, no worries. The API OAuth docs are available [here](https://trakt.docs.apiary.io/#reference/authentication-oauth). --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-03-13 11:15:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/better-auth#3825