Skip to content

docs: add Auth Hooks guide with beforeLogin hook documentation#43

Merged
jackchuka merged 1 commit intotailor-platform:mainfrom
k1LoW:auth-hook
Mar 19, 2026
Merged

docs: add Auth Hooks guide with beforeLogin hook documentation#43
jackchuka merged 1 commit intotailor-platform:mainfrom
k1LoW:auth-hook

Conversation

@k1LoW
Copy link
Contributor

@k1LoW k1LoW commented Mar 19, 2026

This pull request introduces documentation for Auth Hooks, a new feature that allows custom logic to be executed during authentication flows. The main addition is a dedicated guide explaining how to configure and use the beforeLogin hook for scenarios such as Just-In-Time user provisioning and claim validation. The Auth overview documentation is also updated to reference Auth Hooks and provide a brief explanation.

CleanShot 2026-03-19 at 11  17 28@2x

New Auth Hooks documentation:

  • Added a comprehensive guide (docs/guides/auth/hook.md) detailing the concept, configuration, execution flow, handler arguments, error handling, and example use cases for Auth Hooks, specifically the beforeLogin hook.

Auth overview enhancements:

  • Added "Auth Hooks" to the feature list in the Auth overview and linked to the new guide.
  • Introduced a new section summarizing Auth Hooks and their purpose, with a link to the detailed guide.

@k1LoW k1LoW marked this pull request as ready for review March 19, 2026 02:21
@k1LoW k1LoW requested a review from a team as a code owner March 19, 2026 02:21
@jackchuka jackchuka merged commit d61ccbe into tailor-platform:main Mar 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants