diff --git a/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart b/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart index b4e7585490..c16bc3ebba 100644 --- a/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart +++ b/packages/auth/amplify_auth_cognito/lib/src/auth_plugin_impl.dart @@ -87,8 +87,11 @@ class AmplifyAuthCognito extends AmplifyAuthCognitoDart with AWSDebuggable { } @override - Future configure({AmplifyConfig? config}) async { - await super.configure(config: config); + Future configure({ + AmplifyConfig? config, + required AmplifyAuthProviderRepository authProviderRepo, + }) async { + await super.configure(config: config, authProviderRepo: authProviderRepo); // Update the native cache for the current user on hub events. final nativeBridge = stateMachine.get(); diff --git a/packages/auth/amplify_auth_cognito_dart/test/plugin/auth_providers_test.dart b/packages/auth/amplify_auth_cognito_test/test/plugin/auth_providers_test.dart similarity index 100% rename from packages/auth/amplify_auth_cognito_dart/test/plugin/auth_providers_test.dart rename to packages/auth/amplify_auth_cognito_test/test/plugin/auth_providers_test.dart