Skip to content

[google_sign_in] Programmatically set server clientId with Flutter GoogleSignIn plugin for Android #66005

@ngminhduong

Description

@ngminhduong

I need programmatically set server clientId instead of GoogleSignIn plugin read directly from default_web_client_id when request to GoogleSignIn.
Example code with native:

gso = GoogleSignInOptions.Builder(GoogleSignInOptions.DEFAULT_SIGN_IN)
                .requestIdToken(appToken)
                .requestServerAuthCode(appToken)

Any suggestion to implement this with Flutter?
Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Flutterp: google_sign_inThe Google Sign-In pluginpackageflutter/packages repository. See also p: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions