get rid of AUTH_REDIRECT_URL

This commit is contained in:
Yuri Tatishchev 2024-12-25 03:30:31 -08:00
parent b8279e3c43
commit a40757c325
Signed by: CaZzzer
GPG Key ID: E0EBF441EA424369
2 changed files with 1 additions and 2 deletions

View File

@ -2,7 +2,6 @@ DATABASE_URL=file:local.db
AUTH_DOMAIN=auth.lab.cazzzer.com
AUTH_CLIENT_ID=
AUTH_CLIENT_SECRET=
AUTH_REDIRECT_URL=http://localhost:5173/auth/authentik/callback
OPNSENSE_API_URL=https://opnsense.cazzzer.com
OPNSENSE_API_KEY=

View File

@ -5,5 +5,5 @@ export const authentik = new Authentik(
env.AUTH_DOMAIN,
env.AUTH_CLIENT_ID,
env.AUTH_CLIENT_SECRET,
env.AUTH_REDIRECT_URL
`${env.ORIGIN}/auth/authentik/callback`,
);