[PR #3567] [MERGED] fix: resolve notion oauth issue #4887

Closed
opened 2026-03-13 12:03:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3567
Author: @Kinfe123
Created: 7/23/2025
Status: Merged
Merged: 7/24/2025
Merged by: @Bekacru

Base: nextHead: fix/notion-oauth


📝 Commits (1)

📊 Changes

1 file changed (+24 additions, -23 deletions)

View changed files

📝 packages/better-auth/src/social-providers/notion.ts (+24 -23)

📄 Description

Summary by cubic

Fixed Notion OAuth integration by updating the user profile parsing to handle bot accounts and setting authentication to use basic auth.

  • Bug Fixes
    • Corrected user info extraction to support Notion bot account structure.
    • Set authentication method to "basic" for token requests.

🔄 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/3567 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 7/23/2025 **Status:** ✅ Merged **Merged:** 7/24/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `next` ← **Head:** `fix/notion-oauth` --- ### 📝 Commits (1) - [`67bdaea`](https://github.com/better-auth/better-auth/commit/67bdaea01130b8990751ea59adc98e459dfdb05e) fix: notion oauth ### 📊 Changes **1 file changed** (+24 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/social-providers/notion.ts` (+24 -23) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Fixed Notion OAuth integration by updating the user profile parsing to handle bot accounts and setting authentication to use basic auth. - **Bug Fixes** - Corrected user info extraction to support Notion bot account structure. - Set authentication method to "basic" for token requests. <!-- End of auto-generated description by cubic. --> --- <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 12:03:06 -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#4887