We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b341503 commit 4a29079Copy full SHA for 4a29079
code/function/fastapp/health/validate_request.py
@@ -19,6 +19,7 @@ async def verify_health_auth_header(
19
RETURNS (bool): Specifies whether the header matches.
20
"""
21
logger.info(f"Header value: '{x_ms_auth_internal_token}'")
22
+ logger.info(f"Encryption key: '{settings.WEBSITE_AUTH_ENCRYPTION_KEY}'")
23
website_auth_encryption_key = settings.WEBSITE_AUTH_ENCRYPTION_KEY
24
hash = base64.b64encode(
25
sha256(website_auth_encryption_key.encode("utf-8")).digest()
0 commit comments