Ofek Eliahu
08/20/2025, 12:55 PMSingleUseRefreshTokenOauth2Authenticator which works fine.
But the response also include a new body param which called api_base_url_for_customer which i also need to save it to the config.
how can i achieve this behaviour with SingleUseRefreshTokenOauth2Authenticator if it even possible?kapa.ai
08/20/2025, 12:56 PMSingleUseRefreshTokenOauth2Authenticator (and the related refresh token rotation mechanisms) are designed to update the refresh token in the connector configuration after each OAuth refresh, using the value returned in the authentication response. This is typically achieved via the "refresh_token_updater" or similar settings, which map the new refresh token from the response back into the config for future use. However, the documentation and forum discussions do not mention support for updating additional fields (such as a custom field like api_base_url_for_customer) in the connector configuration from the OAuth response using the SingleUseRefreshTokenOauth2Authenticator. The mechanism is described as being specific to the refresh token (and, in some cases, the access token and expiry date), but there is no documented way to map arbitrary additional fields from the OAuth response into the config using this authenticator. If you need to persist additional fields from the OAuth response (like api_base_url_for_customer), the current knowledge sources do not provide a built-in way to do this with SingleUseRefreshTokenOauth2Authenticator. You may need to implement a custom authenticator or request this feature from the Airbyte team. Summary: It is not currently documented or supported to update arbitrary additional fields (such as api_base_url_for_customer) in the config using SingleUseRefreshTokenOauth2Authenticator. Only the refresh token (and sometimes access token/expiry) are supported for automatic updates from the OAuth response. For your use case, a custom solution may be required, or you may need to follow up with the Airbyte community for feature requests or workarounds. References: - [Forum discussion on single-use refresh tokens](https://discuss.airbyte.io/t/3275) - [Declarative OAuth documentation: refresh token updater](https://docs.airbyte.com/platform/next/connector-development/connector-builder-ui/authentication#single-use-refresh-tokens)