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

Base64 Decoder

试用此工具

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.

相关配方