bugraoz93 commented on code in PR #47043:
URL: https://github.com/apache/airflow/pull/47043#discussion_r1976706703
##########
airflow/auth/managers/base_auth_manager.py:
##########
@@ -457,14 +459,17 @@ def register_views(self) -> None:
"""Register views specific to the auth manager."""
@staticmethod
- def _get_token_signer():
+ def _get_token_signer(expiration_time_in_seconds: int = 0) -> JWTSigner:
"""
Return the signer used to sign JWT token.
:meta private:
"""
+ if expiration_time_in_seconds == 0:
+ expiration_time_in_seconds = conf.getint("api",
"auth_jwt_expiration_time")
+
Review Comment:
I updated all to get the conf value as default now, even for simple auth
manager. Thanks for pointing! :)
--
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]