ToolypetMCP
intermediate3 minutescross hub

OAuth Token Debug Pipeline

Generate OAuth tokens, decode the ID token JWT, and verify timestamps for OAuth flow debugging.

oauthjwtdebugauthentication

このレシピの使いどころ

Debug OAuth integration issues by inspecting every part of the token response. Catches common problems: wrong audience, expired tokens, missing scopes.

ステップ

1

OAuth Token Generator

このツールを試す

Simulate OAuth response

プロンプト:Generate an OAuth 2.0 authorization code flow token response with access_token and id_token
2

Inspect identity claims

プロンプト:Decode the id_token to inspect claims: sub, email, name, iss, aud, exp, iat
3

Timestamp Converter

このツールを試す

Check token timing

プロンプト:Convert exp and iat timestamps to verify token validity window
4

Verify encoding format

プロンプト:Manually decode the JWT payload segment to verify Base64URL encoding

よくある質問

What's the difference between access_token and id_token?

access_token authorizes API calls (opaque to the client). id_token is a JWT containing user identity claims (readable by the client). Use id_token for user info, access_token for API auth.

Why does my OAuth flow work locally but fail in production?

Common causes: redirect_uri mismatch, HTTPS required in production, different client credentials, or clock skew causing token expiration issues.

関連レシピ