oidc example auth

This commit is contained in:
Arian Nasr
2026-02-25 21:27:34 -05:00
parent b7844558ac
commit ea66a750c9
7 changed files with 199 additions and 7 deletions

13
.env.example Normal file
View File

@@ -0,0 +1,13 @@
# Flask secret key — generate with: python -c "import secrets; print(secrets.token_hex(32))"
SECRET_KEY=replace_with_random_secret
# Authentik base URL (no trailing slash)
AUTHENTIK_URL=https://auth.example.com
# The slug shown in Authentik under Applications → <your app> → Slug
AUTHENTIK_APP_SLUG=my-app
# OAuth2 credentials from Authentik → Providers → <your provider>
AUTHENTIK_CLIENT_ID=your_client_id_here
AUTHENTIK_CLIENT_SECRET=your_client_secret_here