ワンクリックで
auth-debug
Debug frontend auth state — inspect localStorage, decode JWTs, check token expiry, show current auth type and DID.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Debug frontend auth state — inspect localStorage, decode JWTs, check token expiry, show current auth type and DID.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Scaffold a new React component following frontend conventions — shadcn/ui, Tailwind, functional style.
Scaffold a new Next.js App Router page following existing frontend conventions.
Start the frontend dev server with dependency install and venue connectivity check.
Run frontend lint, type-check, and Jest tests. Reports a summary of all results.
| name | auth-debug |
| description | Debug frontend auth state — inspect localStorage, decode JWTs, check token expiry, show current auth type and DID. |
Inspect and diagnose the frontend authentication state.
The auth state is persisted in localStorage under key "venue-auth". Read and display:
deviceKeyHex — The Ed25519 private key hex (present if device key was ever generated). This persists across logouts.activeVenueId — Currently active venueauthMap — Per-venue auth entries:
type: "keypair" → Device key auth (has privateKeyHex and did)type: "bearer" → OAuth auth (has token and did)For bearer auth entries:
sub (user DID), iss (venue DID), iat, expFor keypair auth entries:
did:key:z6Mk...)Auth Debug
==========
Active Venue: <venueId>
Auth Type: Device Key / OAuth (<provider>)
DID: did:key:z6Mk... / did:web:venue:u:...
Token Status: Fresh per-request / Expires in Xh Ym / EXPIRED
Device Key: Present / Not generated
Venues: <count> configured
src/hooks/use-auth.tssrc/lib/auth-provider.tssrc/components/sign-in-button.tsxsrc/app/auth/callback/page.tsxsrc/hooks/use-authenticated-venue.ts