🔍RepoLensrepolens.ru
  • /trending
  • /top500
  • /weekly
  • /categories
  • /about

© 2026 RepoLens · repolens.ru

root@repolens:~# updating the stack

@exvadimka

Данные обновляются автоматически через GitHub API

← к каталогу

📦 authorizer/ authorizerdev

Your data, your control. Fully open source, authentication and authorization. No lock-ins. Deployment in Railway in 120 seconds || Spin a docker image as a micro-service in your infra. Built in login page and Admin panel out of the box.

Открыть на GitHub ↗обновлён 3мес назад
Звёзды
★ 2.0k
Форки
209
За неделю
—
За месяц
—
Рост %
—
Язык
Go

Установка и запуск

Quick start (local)

Prerequisites: Go ≥ 1.24 (see go.mod).

git clone https://github.com/authorizerdev/authorizer.git
cd authorizer
make dev

make dev runs the server with SQLite and development defaults (RS256 keys, sample client credentials). Open the URL printed in the logs (default port 8080) and sign in with --admin-secret (admin in dev).

For production builds, tests, and Docker, see Getting Started below.

Run with Docker

docker run -p 8080:8080 \
  -v authorizer_data:/authorizer/data \
  quay.io/authorizer/authorizer \
  --database-type=sqlite \
  --database-url=/authorizer/data/data.db \
  --url=http://localhost:8080 \
  --client-id=123456 \
  --client-secret=secret \
  --admin-secret=admin \
  --jwt-type=HS256 \
  --jwt-secret=test \
  --encryption-key=test-encryption-key

Then open http://localhost:8080/app (login) and http://localhost:8080/dashboard (admin, secret admin). These values are placeholders for local use only.

  • --url is required: the server refuses to start without it.
  • An app on another origin (e.g. a React dev server on http://localhost:3000) also needs --allowed-origins=http://localhost:8080,http://localhost:3000. List the server's own URL too.
  • HS256 publishes an empty JWKS. If a backend or MCP server verifies tokens through /.well-known/jwks.json, use RS256/ES256 with --jwt-private-key and --jwt-public-key.

The image runs as the non-root user authorizer (UID 1000) and ships /authorizer/data owned by it, so a named volume mounted there is writable without extra flags. For a bind mount, make the host directory writable by UID 1000 first (mkdir -p ./data && sudo chown 1000:1000 ./data). Images older than v2.4.9 lack that directory; add -u root for those. See the Docker deployment guide.

…

Из README репозитория · полный README на GitHub

Категории

🔒Безопасность🗃️Базы данных

Теги

2faauthauthenticationauthorizationdockergolanggraphdbgraphqlhacktoberfestmagic-linkmicroservicenosqloauth2role-based-access-controlsecuritysocial-loginssqltypescriptuser-privileges