Content-Length: 275811 | pFad | http://github.com/flutter/flutter/issues/172066

CA attemptLightweightAuthentication() always shows account selection · Issue #172066 · flutter/flutter · GitHub
Skip to content

attemptLightweightAuthentication() always shows account selection #172066

@solaristhesun

Description

@solaristhesun

What package does this bug report belong to?

google_sign_in

What target platforms are you seeing this bug on?

Android

Have you already upgraded your packages?

Yes

Dependency versions

pubspec.lock
[Paste file content here]

Steps to reproduce

  1. Sign in with account a using authenticate(). Logout using signout() or disconnect().
  2. Sign in with account b using authenticate().
  3. Restart app and call attemptLightweightAuthentication()

Expected results

It should login automatically with account b. If the user wants to switch accounts he can sign out and sign in again. Why does the "silent login" force this user interaction?

Actual results

It always shows the account selection. There is no automatic sign in.

Code sample

Code sample
[Paste your code here]

Screenshots or Videos

Screenshots / Video demonstration

[Upload media here]

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[Paste your output here]

Metadata

Metadata

Assignees

No one assigned

    Labels

    p: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.platform-androidAndroid applications specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/flutter/flutter/issues/172066

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy