{% 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 trim the local password login email, audit successful lifecycle steps, add a response header after session creation, block a disallowed provider email domain on OAuth callback, and record SPA token exchanges.

Registered Hooks

Try It

Recent Events

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