ashb commented on code in PR #46966:
URL: https://github.com/apache/airflow/pull/46966#discussion_r1965802585


##########
airflow/configuration.py:
##########
@@ -2166,8 +2163,8 @@ def initialize_auth_manager() -> BaseAuthManager:
     TEST_PLUGINS_FOLDER = os.path.join(AIRFLOW_HOME, "plugins")
 
 SECRET_KEY = b64encode(os.urandom(16)).decode("utf-8")
-JWT_SECRET_KEY = b64encode(os.urandom(16)).decode("utf-8")
 FERNET_KEY = ""  # Set only if needed when generating a new file
+JWT_SECRET_KEY = ""

Review Comment:
   Maybe with this change I should have the JWTSigner create a default value if 
the config is empty and issue a warning, that would improve the upgrade path.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to