Farcaster Auth Test

Testing SDK Context vs Quick Auth

SDK Context

UNTRUSTED

Available immediately from sdk.context.user (client-provided)

No SDK context available

Context loads automatically when available

Quick Auth

VERIFIED ✓

Cryptographically verified via JWT token

Not authenticated

Click the button above to authenticate

Understanding the Difference

SDK Context:

Immediately available user information passed by the Farcaster client. Rich with profile data but untrusted - should not be used for authorization.

Quick Auth:

Cryptographically verified JWT token from Farcaster's Quick Auth Server. Trusted and secure - use this for backend authentication and authorization.

Best Practice:

Use Quick Auth to verify identity (security), then display SDK Context info for better UX (rich profile data).

🔍 Debug: Raw SDK Context

This shows all data available from sdk.context (check browser console for more details)

Waiting for SDK context...

Open browser console to see logs