Tech Demos

Melody Auth

OAuth playground

Sample Admin
What it proves A Worker can be a full OAuth 2.1 / OIDC server. What to try Run each grant and read the request/response. What you could build Plug Melody into Auth.js, Grafana, or oauth2-proxy.

Flows

Pick a grant. Watch every hop.

Authorization code + PKCE (the Google web/native flow), client credentials (machine-to-machine), device code (TV/CLI), then introspect, refresh, and revoke. Implicit and password grants are rejected on purpose — OAuth 2.1 removed them.

authorization_code + PKCE S256

Sign in, then exchange the code

  1. Use the public client melody-sample.
  2. Redirect to /authorize with S256.
  3. Consent, then POST /token.

Request / response

Viewer

Pick a flow. Each step prints the HTTP request and JSON body here.