Compare commits

...

2 Commits

Author SHA1 Message Date
32bfec3683 Merge pull request '# Hotfix' (#398) from 395_OAuth2_refactoring into master
Reviewed-on: #398
2024-05-16 17:37:38 +02:00
d31f997a58 # Hotfix
* changes randomly created code verifier into static one to avoid authentication conflicts on multi process deployment (where each process generates an own verifier...)
2024-05-16 17:37:19 +02:00

View File

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