[PR #3347] [CLOSED] feat: get-session debug logs #4772

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/3347
Author: @ping-maxwell
Created: 7/11/2025
Status: Closed

Base: mainHead: feat/get-session/debug-logs


📝 Commits (2)

📊 Changes

2 files changed (+73 additions, -0 deletions)

View changed files

📝 packages/better-auth/src/api/routes/session.ts (+68 -0)
📝 packages/better-auth/src/types/options.ts (+5 -0)

📄 Description

Summary by cubic

Added optional debug logging to the get-session API route to help trace session handling steps during development.

  • New Features
    • Introduced a session debug log option in BetterAuth config.
    • Added detailed log messages throughout the get-session flow, enabled by the new option.

🔄 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/3347 **Author:** [@ping-maxwell](https://github.com/ping-maxwell) **Created:** 7/11/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/get-session/debug-logs` --- ### 📝 Commits (2) - [`00288b5`](https://github.com/better-auth/better-auth/commit/00288b571fcc997cb21248bd9f03c55d1cd3904b) feat: get-session debug logs - [`62e8a3c`](https://github.com/better-auth/better-auth/commit/62e8a3ced2f330d242b42bb9973eb0f7efee5fac) chore: lint ### 📊 Changes **2 files changed** (+73 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `packages/better-auth/src/api/routes/session.ts` (+68 -0) 📝 `packages/better-auth/src/types/options.ts` (+5 -0) </details> ### 📄 Description <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Added optional debug logging to the get-session API route to help trace session handling steps during development. - **New Features** - Introduced a session debug log option in BetterAuth config. - Added detailed log messages throughout the get-session flow, enabled by the new option. <!-- 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 11:59:20 -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#4772