Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NOISSUE - Merge authz and authn into new service auth #1313

Merged
merged 15 commits into from
Dec 29, 2020
38 changes: 10 additions & 28 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,16 @@ MF_JAEGER_URL=jaeger:6831
## Core Services

### AuthN
MF_AUTHN_LOG_LEVEL=debug
MF_AUTHN_HTTP_PORT=8189
MF_AUTHN_GRPC_PORT=8181
MF_AUTHN_GRPC_URL=authn:8181
MF_AUTHN_GRPC_TIMEOUT=1s
MF_AUTHN_DB_PORT=5432
MF_AUTHN_DB_USER=mainflux
MF_AUTHN_DB_PASS=mainflux
MF_AUTHN_DB=authn
MF_AUTHN_SECRET=secret

### AuthZ
MF_AUTHZ_LOG_LEVEL=debug
MF_AUTHZ_HTTP_PORT=8191
MF_AUTHZ_GRPC_PORT=8192
MF_AUTHZ_GRPC_URL=authz:8192
MF_AUTHZ_DB=authz
MF_AUTHZ_MODEL_CONF=/model.conf
MF_AUTHZ_DB_PORT=5432
MF_AUTHZ_DB_USER=mainflux
MF_AUTHZ_DB_PASS=mainflux
MF_AUTHZ_DB_SSL_MODE=
MF_AUTHZ_DB_SSL_CERT=
MF_AUTHZ_DB_SSL_KEY=
MF_AUTHZ_DB_SSL_ROOT_CERT=
MF_AUTHZ_SECRET=
MF_AUTHZ_SERVER_CERT=
MF_AUTHZ_SERVER_KEY=
MF_AUTH_LOG_LEVEL=debug
MF_AUTH_HTTP_PORT=8189
MF_AUTH_GRPC_PORT=8181
MF_AUTH_GRPC_URL=auth:8181
MF_AUTH_GRPC_TIMEOUT=1s
MF_AUTH_DB_PORT=5432
MF_AUTH_DB_USER=mainflux
MF_AUTH_DB_PASS=mainflux
MF_AUTH_DB=auth
MF_AUTH_SECRET=secret

### Users
MF_USERS_LOG_LEVEL=debug
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ MF_DOCKER_IMAGE_NAME_PREFIX ?= mainflux
BUILD_DIR = build
SERVICES = users things http coap lora influxdb-writer influxdb-reader mongodb-writer \
mongodb-reader cassandra-writer cassandra-reader postgres-writer postgres-reader cli \
bootstrap opcua authn twins mqtt provision certs authz
bootstrap opcua auth twins mqtt provision certs
DOCKERS = $(addprefix docker_,$(SERVICES))
DOCKERS_DEV = $(addprefix docker_dev_,$(SERVICES))
CGO_ENABLED ?= 0
Expand Down
Loading