Retrieve Provider from SignInScreen actions #74
-
Hi, I use a SignInScreen, and I want to be able to retrieve the current provider during 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 |
Beta Was this translation helpful? Give feedback.
Answered by
lesnitsky
Aug 24, 2023
Replies: 1 comment
-
There's currently no way to determine which provider was used in this callback and it's a reasonable ask, so I will be looking into implementing this in future releases. Tracked under #75 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lesnitsky
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There's currently no way to determine which provider was used in this callback and it's a reasonable ask, so I will be looking into implementing this in future releases. Tracked under #75