-
Notifications
You must be signed in to change notification settings - Fork 126
Closed
Labels
Description
Discussed in #74
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.:
SignInScreen(
// Providers are set with FirebaseUIAuth.configureProviders()
// providers: [],
actions: [
AuthStateChangeAction<AuthFailed>((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?