⚡ Authorization Demo

Experience the seamless Passkey & OIDC flow step-by-step.

Project Brief: This proof-of-concept demonstrates a high-performance, edge-native Identity Provider built on Cloudflare Workers using Hono, Drizzle ORM, and D1. It highlights a passwordless, WebAuthn (Passkey) flow combined with a standard OIDC (OAuth2) Authorization Code exchange. Everything—from state management in Durable Objects to Web Crypto JWT signing—runs securely and instantly at the network edge.
1

Register User

Simulate creating a Passkey for a new user account.

✓ Passkey registration simulated!
Raw Logs (Passkey Pre-registration)
2

Login with IdP

Generate a secure PKCE verifier and redirect to the Authorization endpoint.

✓ Request Formed... Redirecting!
Raw Logs (Authorization Request)
3

Exchange Code

The IdP returned a single-use Authorization Code. Exchange it securely for a signed JWT.

✓ Token Exchange Successful!
Raw Logs (OIDC Token Exchange)
4

View Secure Token

Here is your cryptographically signed identity payload generated by the edge worker.