{# Session & troubleshooting partial — included by profile.html. Ports the User record, Session JWT, and Last Google sync sections from the former /me/debug page. Group memberships and Resource grants are intentionally omitted — profile.html already renders both above this partial. No {% extends %} / {% block %} — this is an {% include %}-d fragment. #} {# ---- User record ---- #}

User record

id
{{ user_record.id }}
email
{{ user_record.email }}
name
{{ user_record.name or "—" }}
active
{{ "yes" if user_record.active else "no" }}
created_at
{{ user_record.created_at or "—" }}
{# ---- Session JWT (decoded) ---- #}

Session JWT (decoded)

Raw token never displayed; fingerprint correlates with logs.

{% if claims %}
fingerprint
{{ token_fingerprint }}…
subject (sub)
{{ claims.sub }}
email
{{ claims.email }}
type (typ)
{{ claims.typ or "session" }}
issued (iat)
{{ claims.iat or "—" }}
expires (exp)
{{ claims.exp or "—" }}
jti
{{ claims.jti or "—" }}
{% else %}
No session token in the request — are you signed in via cookie?
{% endif %}
{# ---- Last Google sync snapshot ---- #}

Last Google sync snapshot

Read from user_group_members.

prefix in effect
{{ google_group_prefix or "(none)" }}
google_sync rows
{{ sync_summary.google_sync_count }}
last added_at
{{ sync_summary.last_added_at or "—" }}
{% if config.DEBUG_AUTH_ENABLED %}
{% endif %}
{% if config.DEBUG_AUTH_ENABLED %} {% endif %}