X OAuth 2.0 Demo

Environment Check

Step 1: Authorize with X

Select the scopes you want to request:

Step 2: Test API with Access Token

Step 3: Refresh Token

About this Demo

This Cloudflare Worker demonstrates the complete X OAuth 2.0 Authorization Code Flow with PKCE: