Skip to content

Commit 0764b63

Browse files
committed
set token_expiry_is_time_of_expiration in DeclarativeSingleUseRefreshTokenOauth2Authenticator constructor
1 parent a562875 commit 0764b63

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

airbyte_cdk/sources/declarative/parsers/model_to_component_factory.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2801,6 +2801,7 @@ def create_oauth_authenticator(
28012801
).eval(config),
28022802
scopes=model.scopes,
28032803
token_expiry_date_format=model.token_expiry_date_format,
2804+
token_expiry_is_time_of_expiration=bool(model.token_expiry_date_format),
28042805
message_repository=self._message_repository,
28052806
refresh_token_error_status_codes=model.refresh_token_updater.refresh_token_error_status_codes,
28062807
refresh_token_error_key=model.refresh_token_updater.refresh_token_error_key,

0 commit comments

Comments
 (0)