Flutter: Sign in a user through OAuth (original) (raw)
Signs the user in using third-party OAuth providers.
provider
(Required)
The OAuth provider to use for signing in.
redirectTo
(Optional)
The URL to redirect the user to after they sign in with the third-party provider.
scopes
(Optional)
A list of scopes to request from the third-party provider.
authScreenLaunchMode
(Optional)
The launch mode for the auth screen. Defaults to `LaunchMode.platformDefault`.
queryParams
(Optional)
Additional query parameters to be passed to the OAuth flow.