Originally posted by **jeanmatthieud** August 24, 2023
Hi,
I use a SignInScreen, and I want to be able to retrieve the current provider during `AuthStateChangeAction`.
eg.:
```dart
SignInScreen(
// Providers are set with FirebaseUIAuth.configureProviders()
// providers: [],
actions: [
AuthStateChangeAction((context, state) {
// I want to be able to manage the AuthFailed state according to the provider
// or even call a provider function to recover from the error
}),
],
)
```
How can we know which provider is linked to the current `AuthStateChangeAction` callback?
Discussed in https://github.com/firebase/FirebaseUI-Flutter/discussions/74