simpler auth

copy-paste oauth for cloudflare workers

most auth libraries are massive. this is just templates you copy and customize.

no dependencies. no bloat. just ~200 lines of oauth that actually work.

→ browse templates

oauth templates

github client
perfect for dev tools. pkce flow, custom scopes, secure sessions.

𝕏 x (twitter) oauth
great for social apps. oauth 2.0 with pkce, csrf protection built-in.

stripe payments
when you don't need accounts, just payment auth. revenue + access control.

custom flows
modular templates for building your own oauth integrations.

oauth providers

github oauth provider
zero-registration oauth provider. your domain is your client id.

x oauth provider
zero-registration oauth provider. your domain is your client id.

🟠 hackernews oauth provider
zero-registration oauth provider. your domain is your client id.
(currently blocked by hn, but the code works perfectly)
→ read the full story

why simpler?

because auth doesn't need to be complicated:

no massive node_modules. no mystery black boxes. just code you can read.


built by janwilmake because oauth shouldn't need to be complicated