Component
SelectiveAuthenticator Component Factory
Description
Attempting to create a SelectiveAuthenticator which includes a SessionTokenAuthenticator currently fails with TypeError: ModelToComponentFactory.create_session_token_authenticator() missing 1 required positional argument: "'name' ","failure_type":"system_error"
This is because create_selective_authenticator does not pass kwargs to the ModelToComponentFactory._create_component_from_modelwhen creating authenticators for the SelectiveAuthenticator. kwargs contains the name argument passed down from create_declarative_streamwhich is required in create_session_token_authenticator
Proposed solution
Pass kwargs to _create_component_from_model when creating authenticators for SelectiveAuthenticator
✅ Yes, I want to contribute