Add create_recovery_flow.py script that configures Authentik password recovery flow via REST API. This script is called by recovery.yml during deployment. The script creates: - Password complexity policy (12+ chars, mixed case, digit, symbol) - Recovery identification stage (username/email input) - Recovery email stage (sends recovery token with 30min expiry) - Recovery flow with proper stage bindings - Updates authentication flow to show "Forgot password?" link Uses internal Authentik API (localhost:9000) to avoid SSL/DNS issues during initial setup. Works entirely via API calls, replacing the unreliable blueprint-based approach. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| defaults | ||
| files | ||
| handlers | ||
| tasks | ||
| templates | ||