[PR #3089] [MERGED] feat: add Hugging Face provider #21539

Closed
opened 2026-04-15 20:25:46 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3089
Author: @coyotte508
Created: 6/19/2025
Status: Merged
Merged: 6/20/2025
Merged by: @Bekacru

Base: mainHead: main


📝 Commits (2)

  • 2c7fbf5 feat: add huggingface provider
  • c1ec429 Add hugging face to doc

📊 Changes

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

View changed files

📝 docs/components/builder/social-provider.tsx (+10 -0)
📝 docs/components/sidebar-content.tsx (+50 -0)
docs/content/docs/authentication/huggingface.mdx (+47 -0)
packages/better-auth/src/social-providers/huggingface.ts (+114 -0)
📝 packages/better-auth/src/social-providers/index.ts (+3 -0)

📄 Description

Add Hugging Face as a social provider, if you're interested!

We follow openid/oauth standard, nothing special (just pcke or state required)

Tested here: https://huggingfacejs-better-auth-test.hf.space (source here: https://huggingface.co/spaces/huggingfacejs/better-auth-test/tree/main) using a published npm module with the changes

cc @julien-c @pierrci for viz


🔄 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/3089 **Author:** [@coyotte508](https://github.com/coyotte508) **Created:** 6/19/2025 **Status:** ✅ Merged **Merged:** 6/20/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (2) - [`2c7fbf5`](https://github.com/better-auth/better-auth/commit/2c7fbf5281082f3dafc55f9aff7f1e6942274894) feat: add huggingface provider - [`c1ec429`](https://github.com/better-auth/better-auth/commit/c1ec4295f87b9546dcd00f116ef8ee22aa4781f4) Add hugging face to doc ### 📊 Changes **5 files changed** (+224 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/components/builder/social-provider.tsx` (+10 -0) 📝 `docs/components/sidebar-content.tsx` (+50 -0) ➕ `docs/content/docs/authentication/huggingface.mdx` (+47 -0) ➕ `packages/better-auth/src/social-providers/huggingface.ts` (+114 -0) 📝 `packages/better-auth/src/social-providers/index.ts` (+3 -0) </details> ### 📄 Description Add [Hugging Face](https://huggingface.co/) as a social provider, if you're interested! We follow openid/oauth standard, nothing special (just pcke or state required) Tested here: https://huggingfacejs-better-auth-test.hf.space (source here: https://huggingface.co/spaces/huggingfacejs/better-auth-test/tree/main) using a published [npm module](https://www.npmjs.com/package/@huggingface/better-auth) with the changes cc @julien-c @pierrci for viz --- <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-04-15 20:25:46 -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#21539