"""Minimal inline HTML. No template engine — just f-strings — to keep the reference single-purpose and dependency-light. Output is intentionally plain. """ from __future__ import annotations import html import json from typing import Any _PAGE = """
{pretty}A hand-rolled Relying Party. Click below to start the Authorization Code flow (with PKCE) against your porchlight provider.
""" return _PAGE.format(body=body) def result_page( *, id_claims: dict[str, Any], userinfo: dict[str, Any], tokens: dict[str, Any], ) -> str: body = f"""{html.escape(message)}