* changes randomly created code verifier into static one to avoid authentication conflicts on multi process deployment (where each process generates an own verifier...)
This commit is contained in:
mpeltriaux 2024-05-16 17:37:19 +02:00
parent 572348f9f1
commit a5e6f5a1db

View File

@ -15,11 +15,7 @@ SSO_PRIVATE_KEY = "CHANGE_ME"
SSO_PUBLIC_KEY = "CHANGE_ME" SSO_PUBLIC_KEY = "CHANGE_ME"
# OAuth settings # OAuth settings
OAUTH_CODE_VERIFIER = ''.join( OAUTH_CODE_VERIFIER = "CHANGE_ME"
random.choice(
string.ascii_uppercase + string.digits
) for _ in range(random.randint(43, 128))
)
OAUTH_CLIENT_ID = "CHANGE_ME" OAUTH_CLIENT_ID = "CHANGE_ME"
OAUTH_CLIENT_SECRET = "CHANGE_ME" OAUTH_CLIENT_SECRET = "CHANGE_ME"