Authentication and Authorization at the Edge
A(somewhat) OiDC-compatible authentication and authorization server that runs on Cloudflare Workers. It is built for my Computer Science Final at Zealand.
This is probably not a production-ready service. It is built for my personal use, and may have some nasty edge cases. Use at your own risk.
It also is built to work with Cloudflare Access. It may not take into account other OiDC-compatible systems.
- Clone this repository.
- Copy
wrangler.example.json
towrangler.json
and fill in the necessary details, including the route you wish to deploy it on, and the OAuth2 clients you wish to use. - Copy
.dev.vars.example
to.dev.vars
and fill in the necessary details. - Apply Drizzle Migrations to Turso.
- Run
wrangler publish
to deploy the service.
- Add some tests(Vitest)
- Add Turnstile Interstitial Support
- Localisation?
- Design Customization?