Skip to content

blebbit/authr

Repository files navigation

Blebbit Authnz Service

consider this alpha software, though we are using it in production ourselves

Dev Setup

  • pnpm
  • docker & compose
  • Cloudflare

Setup Cloudflare

  1. tunnel for a domain and subdomains
  2. auth.. -> localhost:3333
  3. api.. -> localhost:3001
  4. app.. -> localhost:3000
  5. KV and D1 for AppView (api / backend-cloudflare)

With external stuff setup, this is pretty close to the steps needed

# auth.domain.com
cd services/authr
make dc.up
pnpm i

## create jwks keys
pnpm genkey keyname-1
pnpm genkey keyname-2
(edit .env)

pnpm run dev

# api.domain.com
cd examples/backend-cloudflare
pnpm i
(edit .dev.vars)
pnpm run db:mig:apply:local
zed apply .... perms/posts.zed
pnpm run dev

# app.domain.com
cd examples/frontend-tanstack
pnpm i
(edit .env)
pnpm run dev

About

Our Authnz Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages