feat: Use auth digest instead of basic auth

This commit is contained in:
oSumAtrIX
2024-07-08 05:17:45 +02:00
parent 89a577e91a
commit 89e2acfebb
5 changed files with 22 additions and 19 deletions

View File

@@ -8,9 +8,8 @@ DB_URL=jdbc:h2:./persistence/revanced-api
DB_USER=
DB_PASSWORD=
# Basic authentication to issue JWT tokens
BASIC_USERNAME=
BASIC_PASSWORD=
# Digest auth to issue JWT tokens in the format SHA256("username:ReVanced:password")
AUTH_SHA256_DIGEST=
# JWT configuration for authenticated API endpoints
JWT_SECRET=