{% extends "base.html" %} {% block title %}Hooks · Cross-Auth FastAPI Hybrid Example{% endblock %} {% block content %}
Lifecycle Hooks

Hook registrations in this example

The FastAPI example uses hooks to normalize local password login, audit successful lifecycle steps, add a response header after session creation, require verified provider email on OAuth callback, and record SPA token exchanges.

Registered Hooks

Try It

Recent Events

{% if hook_events %} {% else %} no hook events yet {% endif %}
{% endblock %}