+ {refreshErr && (
+
+ Refresh failed: {refreshErr}
+
+ )}
+ {statusQuery.isLoading && (
+
+ Loading…
+
+ )}
+ {statusQuery.data && (
+
+ - Last refresh
+ -
+ {statusQuery.data.last_refresh_at ? (
+ statusQuery.data.last_refresh_at
+ ) : (
+ (never — cold cache)
+ )}
+
+
+ - Refresh count
+ -
+ {statusQuery.data.refresh_count}
+
+
+ - Rejected JWS count
+ -
+ {statusQuery.data.rejected_jws_count}
+
+
+ - Last error
+ -
+ {statusQuery.data.last_error ? (
+ {statusQuery.data.last_error}
+ ) : (
+ (none)
+ )}
+
+
+ - RFC 9207 iss param
+ -
+ {statusQuery.data.iss_param_supported
+ ? 'supported by IdP'
+ : 'not advertised'}
+
+
+ - Current KIDs
+ -
+ {(statusQuery.data.current_kids ?? []).length === 0 ? (
+
+ (not exposed — query jwks_uri directly to inspect)
+
+ ) : (
+ statusQuery.data.current_kids.join(', ')
+ )}
+
+
+ )}
+
+