You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: override OauthConnectorInputSpecification in protocol model to preserve scopes fields
Override OauthConnectorInputSpecification and cascade through
OAuthConfigSpecification -> AdvancedAuth -> ConnectorSpecification -> AirbyteMessage
to ensure serpyco_rs preserves scopes, optional_scopes, and scopes_join_strategy
fields during deserialization.
Also convert ScopesJoinStrategy enum to string value in spec.py before
passing to ConnectorSpecificationSerializer.load().
Fixes: airbytehq/airbyte-internal-issues#15963
Co-Authored-By: aldo.gonzalez@airbyte.io <aldo.gonzalez@airbyte.io>
self.advanced_auth.auth_flow_type=self.advanced_auth.auth_flow_type.value# type: ignore # We know this is always assigned to an AuthFlow which has the auth_flow_type field
58
+
# Convert scopes_join_strategy enum to its string value (same pattern as auth_flow_type above)
0 commit comments