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

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.

관련 레시피