[PR #3434] [MERGED] docs: updates the hooks example in the options reference #30419

Closed
opened 2026-04-17 21:31:13 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

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

Base: mainHead: docs/life-cycle-hooks-options


📝 Commits (1)

  • f9c0daa docs: request lifecycle hooks

📊 Changes

1 file changed (+10 additions, -4 deletions)

View changed files

📝 docs/content/docs/reference/options.mdx (+10 -4)

📄 Description

closes #3251

Summary by cubic

Updated the hooks example in the options reference to use createAuthMiddleware and added a link to the Hooks documentation.


🔄 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/3434 **Author:** [@Kinfe123](https://github.com/Kinfe123) **Created:** 7/17/2025 **Status:** ✅ Merged **Merged:** 7/17/2025 **Merged by:** [@Bekacru](https://github.com/Bekacru) **Base:** `main` ← **Head:** `docs/life-cycle-hooks-options` --- ### 📝 Commits (1) - [`f9c0daa`](https://github.com/better-auth/better-auth/commit/f9c0daa14bd64d8dc5213adb89d48bcad1430f87) docs: request lifecycle hooks ### 📊 Changes **1 file changed** (+10 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `docs/content/docs/reference/options.mdx` (+10 -4) </details> ### 📄 Description closes #3251 <!-- This is an auto-generated description by cubic. --> ## Summary by cubic Updated the hooks example in the options reference to use createAuthMiddleware and added a link to the Hooks documentation. <!-- 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-04-17 21:31:13 -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#30419