[PR #434] [MERGED] update docs - nextjs integration #3286

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

📋 Pull Request Information

Original PR: https://github.com/better-auth/better-auth/pull/434
Author: @notmean11
Created: 11/6/2024
Status: Merged
Merged: 11/6/2024
Merged by: @Bekacru

Base: mainHead: update-docs


📝 Commits (1)

  • c166b88 update docs - nextjs integration

📊 Changes

1 file changed (+3 additions, -1 deletions)

View changed files

📝 docs/content/docs/integrations/next.mdx (+3 -1)

📄 Description

In Next.js 15, header is now an async function, so I added await to integrate it according to the Next.js documentation.

Nextjs 14
image

Nextjs 15
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/434 **Author:** [@notmean11](https://github.com/notmean11) **Created:** 11/6/2024 **Status:** ✅ Merged **Merged:** 11/6/2024 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `update-docs` --- ### 📝 Commits (1) - [`c166b88`](https://github.com/better-auth/better-auth/commit/c166b885ee8a9c063020565c184a3725390921b9) update docs - nextjs integration ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/integrations/next.mdx` (+3 -1) </details> ### 📄 Description In Next.js 15, header is now an `async` function, so I added `await` to integrate it according to the Next.js documentation. Nextjs 14 ![image](https://github.com/user-attachments/assets/16eff80e-4ede-4bf9-81ef-7e7c5e669625) Nextjs 15 ![image](https://github.com/user-attachments/assets/eaa04824-bd97-4166-9c3a-caeccbe0e956) --- <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 10:47: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#3286