Thanks to visit codestin.com
Credit goes to github.com

Skip to content

How to set the serverClientID needed for serverAuthCode (Switching from iOS)? #57945

Closed
flutter/plugins
#5250
@JacobWrenn

Description

@JacobWrenn

In my previous iOS application, I could get a serverAuthCode that I could pass to my own server that was then able to redeem tokens using its own client ID and make API requests on behalf of the user.

I used to be able to specify GIDSignIn.sharedInstance()?.serverClientID = "12345.apps.googleusercontent.com" to tell the library the client ID of my server. I would like to know how to set this in Flutter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: 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.r: fixedIssue is closed as already fixed in a newer version

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions