mirror of
https://github.com/hexolan/panels.git
synced 2026-03-26 20:41:15 +00:00
Bumps [protobuf](https://github.com/protocolbuffers/protobuf) from 4.24.2 to 4.25.8. - [Release notes](https://github.com/protocolbuffers/protobuf/releases) - [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl) - [Commits](https://github.com/protocolbuffers/protobuf/compare/v4.24.2...v4.25.8) --- updated-dependencies: - dependency-name: protobuf dependency-version: 4.25.8 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
Auth Service
Event Documentation
-
Events Produced:
- N/A
-
Events Consumed:
- Topic: "
user" | Schema: "UserEvent" protobuf- Type:
"deleted"| Data:User
- Type:
- Topic: "
Configuration
Environment Variables
PostgreSQL:
POSTGRES_USER (Required)
- e.g. "postgres"
POSTGRES_PASS (Required)
- e.g. "postgres"
POSTGRES_HOST (Required)
- e.g. "localhost:5432"
POSTGRES_DATABASE (Required)
- e.g. "postgres"
Kafka:
KAFKA_BROKERS (Required)
- e.g. "localhost:9092" or "localhost:9092,localhost:9093"
Other:
JWT_PRIVATE_KEY (Required)
-
RSA Private Key (used to encode JWT tokens) represented in base64
-
Generating:
- Using OpenSSL:
openssl genrsa -out private.pem 2048 - Getting Base64 Representation:
python -c "import base64;private_key=open('private.pem', 'r').read();print(base64.standard_b64encode(private_key.encode('utf-8')).decode('utf-8'))"
- Using OpenSSL:
JWT_PUBLIC_KEY (Required)
-
RSA Public Key (used to verify JWT tokens) represented in base64
-
Generating:
- Using OpenSSL:
openssl rsa -in private.pem -pubout -out public.pem - Getting Base64 Representation:
python -c "import base64;private_key=open('public.pem', 'r').read();print(base64.standard_b64encode(private_key.encode('utf-8')).decode('utf-8'))"
- Using OpenSSL:
PASSWORD_PEPPER (Required)
-
A secret salt applied globally along with generated password salts.
-
Generate with
python -c "import secrets;print(secrets.token_hex(nbytes=16))"or similar method.