feat: add oauth flow base

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-03-27 18:39:29 +00:00
parent 4f0f8ddbe1
commit 3081fb4af8
12 changed files with 763 additions and 225 deletions

View File

@@ -70,6 +70,9 @@ metadata:
name: veil-config
data:
default.yml: |
server:
host: https://app.veil.local
database:
host: postgresql
port: 5432
@@ -77,10 +80,11 @@ data:
password: veil
database: veil
oidc:
oauth:
issuer_url: "https://id.veil.local"
client_id: "veil"
client_secret: "insecure_secret"
insecure: true
log4rs.yml: |
appenders:
stdout:
@@ -167,7 +171,7 @@ data:
- client_id: "veil"
client_secret: "$pbkdf2-sha512$310000$c8p78n7pUMln0jzvd4aK4Q$JNRBzwAo0ek5qKn50cFzzvE9RXV88h1wJn5KGiHrD0YKtZaR/nCb2CJPOsKaPK0hjf.9yHxzQGZziziccp6Yng" # The digest of 'insecure_secret'.
redirect_uris:
- "https://app.veil.local/oauth2/callback"
- "https://app.veil.local/api/auth/callback"
authorization_policy: "one_factor"
users.yml: |
users: