[PR #1990] [MERGED] add support for business login using config ids #4109

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/1990
Author: @arlyon
Created: 3/25/2025
Status: Merged
Merged: 4/11/2025
Merged by: @Bekacru

Base: mainHead: arlyon/facebook-config-id


📝 Commits (1)

  • b2feef2 add support for business login using config ids

📊 Changes

2 files changed (+16 additions, -1 deletions)

View changed files

📝 docs/content/docs/authentication/facebook.mdx (+6 -1)
📝 packages/better-auth/src/social-providers/facebook.ts (+10 -0)

📄 Description

Facebook login for business requires an additional parameter 'config_id` which points to a specific login strategy since the same business app can have different logins for different purposes (personal login, business system user, etc)

I have threaded that param through and added some docs

image

image


🔄 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/1990 **Author:** [@arlyon](https://github.com/arlyon) **Created:** 3/25/2025 **Status:** ✅ Merged **Merged:** 4/11/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `arlyon/facebook-config-id` --- ### 📝 Commits (1) - [`b2feef2`](https://github.com/better-auth/better-auth/commit/b2feef29c2f80cdf1bc23451ca90261bcc6e41cd) add support for business login using config ids ### 📊 Changes **2 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/authentication/facebook.mdx` (+6 -1) 📝 `packages/better-auth/src/social-providers/facebook.ts` (+10 -0) </details> ### 📄 Description Facebook login for business requires an additional parameter 'config_id` which points to a specific login strategy since the same business app can have different logins for different purposes (personal login, business system user, etc) I have threaded that param through and added some docs ![image](https://github.com/user-attachments/assets/62d33ca2-557a-487c-8fe4-473a26fc410c) ![image](https://github.com/user-attachments/assets/93205aaf-ce21-495d-9ffd-eaf77fef826b) --- <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:32:55 -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#4109